You can filter search results on a field for a given value. You may specify multiple filters in a single request.
Request Parameters
Format |
filter.[field_name]=[value] bgfilter.[field_name]=[value]
|
Description |
Filters search results on a field for a given value. You may specify multiple filters in a single request. Use normal filters (filter) for customer selected filters and background filters (bgfilter) for non-customer selected filters like pre-filtering based on category pages. |
Examples |
filter.brand=Nike
filter.color=Blue&filter.color=Red
filter.size=XL&filter.type=Shirt
filter.color=Blue&filter.brand=Adidas
bgfilter.category=Mens>Shirts
|
Format |
filter.[field].low=[value] | filter.[field].high=[value]
|
Description |
Filters search result on a field for a range of values. Must be used on a numeric field. |
Examples |
filter.price.high=50
filter.price.low=100&filter.price.high=100
|
Format |
rq=[value]
|
Description |
Searches the search database for the terms in the query. This is used when you want to allow customers to search within a search result. |
Examples |
rq=shoes
rq=iphone%20charger
|
Comments
0 comments
Please sign in to leave a comment.