What's your biggest current challenge? Have your say in Community Polls along the right column.

Assigning multiple images to each colour variant of bag 'front' and 'back'

Assigning multiple images to each colour variant of bag 'front' and 'back'

sonyarothwell
Excursionist
27 2 2

Hello everyone!

I have tote bags in my store in different colours. I have assigned an image of the bag 'front' colour to each variant, but the product page is only showing the bag 'backs' (and not the assigned front images) which make it look like that's the only design.

 

Please see image attched. The images assigned to ‘front’ bag colour variants are missing from the image scroll.

 

What's the code to assign multiple images to each colour variant (bag front and back), and make it

only show the images of that colour ?

 

Thank you so much!

Sonya

Screenshot 2024-11-09 at 07.44.00.png

 

Replies 2 (2)

Shadab_dev
Shopify Partner
926 49 91

I was able to implement something like this where you will get images of only the selected element or variant of a product.

So for white only white colour bags, for yellow only yellow bags, etc. please see reference site of a client.

 

www.kpsclothing.in

 

If you are looking for anything like this, please reach out via mail for a convenient conversation and collaboration.

 

Best

Shadab

Buy me Coffee, if you feel i was helpful. Email Me or WhatsApp me for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.
sonyarothwell
Excursionist
27 2 2

Thank you so much Shadab_dev! I'd love your help.  I'm sent you a private message 🙂