Refresh theme: add variants to collection pages

Refresh theme: add variants to collection pages

RichHiker
New Member
4 0 0

Hello, I have a single product with 5 color variants, each with its own image. I want all 5 to appear as separate product cards on the collection page, but for inventory reasons, I want to manage them as variants on a single product page.  I tried several youtube videos with snippets of code, but nothing works with the Refresh theme. Is anyone able to share the code that works? Please advise exactly where to paste the code as well, whether a separate snippet liquid file or in the main-collection-product-grid.liquid file or somewhere else. thank you!

Replies 2 (2)

Liquid_xPert_SJ
Shopify Partner
1316 140 199

@RichHiker 

You can use metafields for this purpose to show different variants for single product.

- If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response.
- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂- If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response.
- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂
- Need THEME UPDATES but have custom codes? No worries, for an affordable price.
RichHiker
New Member
4 0 0

I have variants setup and working fine. The issue is how to get them to appear on the Collection page as separate products, using the Refresh theme.