Changing image when selecting variants.
I see this functionality is probably missing.
Use case: I have a product in multiple color and size variants. In Shopify admin pane I can add separate image for every variant but when selecting variant on the user side the image in the gallery isn't updated.
I'd expected that when someone is selecting specific colour variant, the image get's changed. For example in this demo: https://demo.vercel.store/product/acme-cup?color=Black
When users chooses "White" the active image in the gallery should change.
I'm relatively new to Shopify but with some guidance I'm glad to implement this feature.
The code seems to be working well
issue #1463
Hmm, just checked it on my phone and it works indeed. It does't work on my desktop tho. Does it open white cup when you open this link in the desktop browser? https://demo.vercel.store/product/acme-cup?color=White
Tested on Linux - Chrome and Firefox. I'll check on my Mac in a moment.
Do you mean this issue ? you can select the the variant but it color wont change issue #1463
In your cart you see different color variant image than selected ? issue #1463
Also the Color toggle is not changing the color
@krzywiecki Should I try to fix it