Dawn theme - Hide collection list on collection page if empty

eliamal
Shopify Partner
9 0 1

Hi! On my collection page I want to have a collections list with 6 items and dynamically connect them to a metafield. This so I can have sub collections and on each collection I can set sub collection 1, sub collection 2 and so on. The only problem is that now it always show 6 no matter if they are set or not. I want to hide the collection of it's not set. So if I have sub collection 1 and 2 set on that collection it should hide collection 3-6.

 

And a sort of related question. If I add more than 6 collections it turns into two rows, but on mobile it's still one row and I can swipe. Can I have it the same way on desktop?

 

Do you know? @ThePrimeWeb 

 

Do you know Skärmavbild 2024-05-11 kl. 22.05.09.pngSkärmavbild 2024-05-11 kl. 22.04.25.png

Reply 1 (1)

eliamal
Shopify Partner
9 0 1

No one?