filter_value
A filter's particular value.
Refer to Supporting Storefront Filtering to learn how to support filters in your theme.
Properties
If the value is currently active, returns true. Otherwise, returns false.
Only boolean or list type filters can return true.
Customer-facing label of the filter value. For instance, Black or Large.
Only boolean and list type filters return a value. price_range type filters return null.
URL parameter for the filter.
For instance, filter.v.availability.
The price_range type filters include an additional component, based on whether the filter value applies to the filter's max_value or min_value. The table below outlines the URL parameters for each:
| Value type | URL parameter |
|---|---|
| min_value | filter.v.price.gte |
| max_value | filter.v.price.lte |
The URL of the current page with the filter value added.
The URL of the current page with the filter value removed.
The value.