filter
Refer to Supporting Storefront Filtering to learn how to support filters in your theme.
Properties
Values of currently active filters.
This array can only have values for boolean and list type filters.
The false filter value.
Returns a value only for boolean type filters. Returns null for other types.
Values of currently inactive filters.
This array can only have values for boolean and list type filters.
Customer-facing label of the filter.
The highest filter value.
Only returns a value for price_range type filters. Returns null for other types.
The lowest filter value.
Only returns a value for price_range type filters. Returns null for other types.
URL parameter for the filter. For instance, filter.v.availability
The highest product price in the search results or collection.
Only returns a value for price_range type filters. Returns null for other types.
The true filter value.
Returns a value only for boolean type filters. Returns null for other types.
The type of the filter.
| Possible values |
|---|
| boolean |
| list |
| price_range |
The current page URL with the filter's URL parameters removed.
Values of the filter.
This array can only have values for boolean and list type filters.