How can I create collections based on product size variations?

Hi all,

I am aware of the option to create ‘collections’ within Shopify admin panel, eg by vendor, price, producttag, etc.

However, I am in need of different collections that only contain certain sizes.
(I have created products that have different sizes as variations.)

So collection 1 should only contain the variation of a product being ‘size 92’.
Collection 2 should only contain the variation ‘size 104’ of different products.
Collection 3 should only contain the variation ‘size 116’,

etc…

Is this something that can be done or someone has allready done?

Thanks in advance!

Hi,

This is easy to do once you have assigned size tags to products. For example, if you have a dress that comes in size S, M, L and XL, then simply add “S”,“M”,“L”, and “XL” to the tags. Do the same for Vendors and etc if you wish.

Then, when you want to add the collection to the navigational panel, simply choose the Dress collection and in filters insert a tag “S” or “M” or any other size tag you need.

Hope this helps.

P.S. You can also use Flow app to ensure that if, for example, size M is sold out, then “M” tag gets removed and the item is not showing in collection as available. Same for when item gets back in stock.

Hi there @kgbfashionista ,

Thanks for taking the effort to answer, but still not exactly what i am looking for. If i do it like you suggested, the complete ‘item/product’ will appear in the collection, because required size is available. But the tricky part is: I just need the one variation (like size S) in the collection. So to be short: i need a collection on variation level.

As for why: i need these collections to be connected to a third party sales platform, that has everything broken down to size category’s: people specifically shop on size level. So if one should shop on this platform, and would click size category ‘S’ or ‘M’, only that specific size of my product should appear.

Oh, right. Maybe there is a better way of doing this, but I would suggest tweaking a code.

You would need to find the file with your product cards (usually called product-form.liquid) and add a small bit of code that would hide other size variants depending on the collection or on the handle.

Say, we have this link: my-shop.com - my shop Resources and Information.dresses-size-m/products/blue-dress

dresses-size-m would be our collection Dresses where are all the dresses in size M, obviously.

Then you would need to create an if statement or unless statement that would show only one size depending on the handle.

@kgbfashionista

Yes, but that is where my knowledge ends: with coding, haha.
So i hoped someone might have a ‘trick’ or app for this.

Thanks for your input and effort, much appreciated!

1 Like

@Bas79 so finally how did you manage to di can you share please? Thanks

Sorry to inform you that it is not possible. I asked Shopify helpdesk, but there is no option (neither via apps, nor Shopify admin panel) to make this happen.