filter
A storefront filter (price, option, tag…) with its values and active state.
Properties
| Property | Description |
|---|---|
filter.active | true when the link matches the current page. |
filter.active_values | — |
filter.collapsed_by_default | — |
filter.color | — |
filter.colors | — |
filter.count | — |
filter.display_type | — |
filter.false_value | — |
filter.image | Primary image. |
filter.inactive_values | — |
filter.label | Display label. |
filter.max_value | — |
filter.min_value | — |
filter.operator | — |
filter.param_name | — |
filter.pattern_url | — |
filter.presentation | — |
filter.range_max | — |
filter.show_all_values | — |
filter.sort_mode | — |
filter.sort_order | — |
filter.swatch | — |
filter.swatch_color1 | — |
filter.swatch_color2 | — |
filter.swatch_color3 | — |
filter.swatch_type | — |
filter.tooltip | — |
filter.true_value | — |
filter.type | Product type / object type. |
filter.url_to_add | — |
filter.url_to_remove | — |
filter.value | The value. |
filter.values | The values. |
filter.visual_alt_text | — |
filter.visual_kind | — |
filter.visual_media | — |
Property list is generated from the storefront engine (FilterDrop), so it always matches what your theme can use. Inspect live values with {{ filter | json }}.