Zappos Search

$search = eden('zappos')->search('[API_KEY]');
Figure 1. Search Methods
Method Arguments Returns Description
$search->setTerms($terms);
  1. string
Eden_Zappos_Search Set search terms
$search->setLimits($limits);
  1. string|int
Eden_Zappos_Search Set limits in the search query
$search->setList(); none Eden_Zappos_Search Set face fields list. SetTerms and setList cannot call at the same time
$search->ascendingOrder(); none Eden_Zappos_Search Sort result to ascending order by default in is set to descending
$search->sortByPrice(); none Eden_Zappos_Search Sort results by price
$search->sortGoLiveDate(); none Eden_Zappos_Search Sort results by live date
$search->sortByPopularity (); none Eden_Zappos_Search Sort results by product populariry
$search->sortByRecentSale(); none Eden_Zappos_Search Sort results by recent sale
$search->excludeByStyleId(); none Eden_Zappos_Search Exclude results by style Id
$search->excludeByPrice(); none Eden_Zappos_Search Exclude results by price
$search->excludeOriginalPrice(); none Eden_Zappos_Search Exclude results by original price
$search->excludeProductUrl(); none Eden_Zappos_Search Exclude results by product url
$search->excludeColorId(); none Eden_Zappos_Search Exclude results by color id
$search->excludeProductName(); none Eden_Zappos_Search Exclude results by product name
$search->excludeBrandName(); none Eden_Zappos_Search Exclude results by brand name
$search->excludeImageUrl(); none Eden_Zappos_Search Exclude results by image url
$search->excludePercentOff(); none Eden_Zappos_Search Exclude results by percent off
$search->excludeProductId(); none Eden_Zappos_Search Exclude results by product id
$search->includeFacets(); none Eden_Zappos_Search include facet in resuts
$search->setPage($page);
  1. string|int
Eden_Zappos_Search Set page number
$search->filterExpression($expression);
  1. string
Eden_Zappos_Search filter results with specific expression
$search->filterProduct($facetFields, $facetValue);
  1. string
  2. string
Eden_Zappos_Search filter results with distinct expression
$search->search(); none array search zappos products

© 2012 Openovate Labs. All rights reserved.