Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Dear all,
I recently bought a custom theme and I am almost done with my adaptations. But I have an issue with color swatches.
My variants have around 5 images each and I want to show all the associated images with the selected variant. All other variants and their associated images should be hidden.
The product-preview: https://fprasz2zjh5qayrl-75670323528.shopifypreview.com
Unfortunately the theme-designers do not offer additional coding.
Can someone please help me with the code for that?
Thank you in advance!
Hello @Timbery
Welcome to Shopify Community.
If you are want to group images based on variants in a custom theme then you have to code to make images work with alt. These needs custom code changes based on theme code. So if you are not good with it then I would suggest to seek help of a developer at a reasonable cost.
Let me know if you need one.
Thanks
@Sweet_Savior_3
Hi, thank you for the reply.
It's funny that none of the available themes have this feature and need custom coding.
I have an offer, but not sure if it is high or not. The theme cost me 40$ and that one coding would cost 60$...
Can you say how much your developer would charge for that?
Will it be okay for you to open a thread to the inbox given in the below mentioned signature ? to discuss further.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025