Lilly and Mimi Fabric Shop review for Shopify Search & Discovery
Feb. 4, 2023
I would like to add colour filter to my collection page and there is not even an instruction how to do it. My store has no variant products. All products are individual what ever it would be easier to my customers to filter by colours and theme. To clarify my subject this is a fabric shop. So add colour filters would be easier to my customers to find specific colours. I have tried to add metafields to the product maybe it show up on the filters menu and somehow I can connect the metafield to colour swatch but that is doesn't work either. Any recommendation how I can use colour filter on your app? basically this doesn't work at all only useful for shop who has variant colours under each products which is not help at all.
If your products do not have variants, and you need a Color filter for them, you will need to create a product metafield definition labelled “Color”. Head over to your shop settings, and look under “Custom data”, that's where you manage metafield definitions. Add a new product metafield definition and name it “Color”. Select the type “Single line text” for it. You can use the “Limit to preset choices” feature under “Validation” > “Rules” to control the order in which colors will appear in your filter later. Once you have created your product metafield definition, you can bulk edit your products to set a color for each of them in that metafield. Once you have done so, you can add that metafield as a filter in the Search & Discovery app. If your theme supports “color swatches”, then you will need to follow your theme's specific instructions to have the color text replaced by a swatch on your storefront. In doubt, contact your theme creator.
Shopify Search & Discovery: Customize your storefront search