Anchor to FilterOperatorTypeFilter
enumFilter Operator Type
Specifies the logical operator used for filtering multiple values within a filter. Example: Given the filter is 'color' and values are 'red' and 'blue':
- If 'AND' is used, it will filter items that are both red and blue.
- If 'OR' is used, it will filter items that are either red or blue or both.
Anchor to Valid valuesValid values
- AND
- OR
The logical operator AND.
The logical operator OR.
Was this section helpful?
Anchor to FieldsFields
- •OBJECT
A filter option available on collection and search results pages. Each filter includes a type, display label, and selectable values that customers can use to narrow down products.
The
objects contain aninputfield that you can combine to build dynamic filtering queries. Merchants configure available filters using the Shopify Search & Discovery app.
Was this section helpful?