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.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025