filter_value
A specific value of a filter.
To learn about supporting filters in your theme, refer to Support storefront filtering.
Properties
Returns true if the value is currently active. Returns false if not.
Can only return true for filters of type boolean or list.
The customer-facing label for the filter value. For example, Red or Rouge.
Returns a value only for boolean and list type filters. Returns null for price_range type filters.
The URL parameter for the filter.
For example, filter.v.availability.
Filters of type price_range include an extra component depending on whether the filter value is for the filter's min_value or max_value. The following table outlines the URL parameter for each:
| Value type | URL parameter |
| min_value | filter.v.price.gte |
| max_value | filter.v.price.lte |
The current page URL with the filter value parameter added.
The current page URL with the URL parameter related to the filter removed.
The value.