Personalized checkout and custom promotions with Shopify Scripts
Hello everyone,
I'm new to shopify and for a product I need to show only variant images of the current selected color. My other option is the size. For examplen I have a product with 2 color options in red and green and 2 size options small and big. I have 4 variants with images, one for each combination (red,small),(red,big) ,(green,small) ,(green,big). When I select a color I only want to show the variant images with the selected color. I Need to code it by myself, has anyone an idea how to achieve this? One very pity thing is, that I can't access product.variants.featured_image.variant_ids like its availabe in the JSON model of the product, but it's not accessible over liquid classes.
Greetings and any help is appreciated.
Hello, You need to find everything you need to know by watching this tutorial:
https://websensepro.com/blog/how-to-show-only-selected-variant-images-shopify-debut-theme/
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025