I am having an issue with the order of my size filters on Search & Discovery. At the moment they are showing in alphabetical order in stead of size ascending order in the filter. I am attaching a screenshot. I realise this may be because I have the UK size reference in the name of the size variant. However, this is essential for the customer experience and wouldn’t like to change it. How can I reorganise them as there is no option to do this manually in the Search & Discovery app? The correct order would be:
Did you figure anything out with this? I am also trying to customize filters in the Search & Discovery app. I expect I will have to apply custom code, but I can’t seem to find any support articles for any customization.
Was trying to dig around and came across this.. only problem for metafield is you need to tag each product once you set it up (metafield is custom data in settings)
Sorting filter values
Filter values are displayed in ascending order by default, both alphabetically and numerically. For example, a product option filter of “Shoes sizes” will display values smallest to largest.
Filter values that start with a number and end with a word, such as “60 watts”, will be displayed next to filter values that end with the same word. For example, a product option filter of “Ages” with the filter values “2 years”, “6 months”, “3 years” and “2 months” will be sorted to:
2 months
6 months
2 years
3 years
Custom sort orders are applied for filters named “Size” so common sizing terms are displayed in the correct order. For example, “XS” (extra small) comes before “S” (small).
Customizing sort order
To set your own custom sort order for filter values, create a Single line text metafield with preset choices. The choice order in the admin will be the filter value sort order on storefront.