Variant Size Filter sorting

Miguel_JN
New Member
8 0 0

We would like to be able to sort the options in the size filter as you can see in the image below. Would this be possible? In this particular case, we would like to put the kids sizes first (3 months, 6 months, etc...) and then all the adult sizes.

 

Please note that this Size filter is based in Variant options created on every product and we are using Search & Discovery App.

 

Filter Sorting.png

 

Thanks in advance!

Replies 4 (4)

zaczee
Globetrotter
848 46 44

HI @Miguel_JN ,

 

Can You share your store url

 

Miguel_JN
New Member
8 0 0

minhcu
Shopify Partner
61 0 2

This will be to be sorted by code in the liquid but since liquid doesn't support complicated sort like this case, I would recommend the use of another filter app with the ability to manually order the filter option https://apps.shopify.com/ultimate-search-and-filter-1

 

Don't stop grinding
EloiseCamire
Shopify Partner
2 0 1

Hi Minhcu, where is the sorting rule for a variant name "size", we see it's automatically sort from XXS to XXL (so not alphabetically). How can we change this to that is also sort another specific variant not using the same "size" to so the same? our store is in french so our size variant is called "Grandeur", but if we try to filter collection page the variant "Grandeur" are place in alphabetical order, which makes no sense for a clothing store. thanks.