Skip to content

filter

A storefront filter (price, option, tag…) with its values and active state.

Properties

PropertyDescription
filter.activetrue 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.imagePrimary image.
filter.inactive_values
filter.labelDisplay 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.typeProduct type / object type.
filter.url_to_add
filter.url_to_remove
filter.valueThe value.
filter.valuesThe 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 }}.