How to create filters from Product Metafields
Last updated
Was this helpful?
Last updated
Was this helpful?
Go to Search & Collections -> Filter Settings.
Click on Add Filter Option.
To create a Filter using Product Tags, click on the 'Metafields' option.
Key and Namespace- these values come from Shopify Custom Data. Below is a video to shows the process to create a Shopify Product Metafield and getting the Key and Namespace value.
Filter Label- the display name of filter. This will be displayed on the Store Collection/Search Pages.
Filter Display- List/Box/Swatch/Radio. If Swatch is selected, choose the Appropriate Swatch Style- Text List/Round Swatches/Square Swatches/Test + Swatch.
Filter Values- All/Manual. All will use all the possible values under the Product Tags. Manual- can be used to choose a list of options for the Filter.
Order Facet-Ascending/Descending/Custom. Custom order is only available under 'Manual' Filter Values.
Filter Prefix-a prefix string can will be automatically removed from the Filter option value. Example if the options value is 'All Bottoms', and Prefix is 'All '. The Result will be 'Bottoms'.
Exclude values- List of values to be excluded from the Filter.
Rename Mapping- You can map to change/rename the tag value. Example- Bodysuit- becomes Bodysuits (plural).
One the filter is created, add the Filter to the Filter Trees.