Alternative Text Product Images

JK26
New Member
2 0 0

Is it possible to add multiple variant tags to alternative text on images so that the image pulls through to all of the variants? we have a main product image, but the product has 9 different variants and we want that main product image to show up when you click on any of the variants.

Reply 1 (1)
PaulNewton
Shopify Partner
3404 224 652

@JK26 wrote:

Is it possible to add multiple variant tags


Variants do not have tags.

so that the image pulls through to all of the variants

No idea what that means, images don't pull variants.

 

we want that main product image to show up when you click on any of the variants.

So is the current behavior for your theme ?X? that variant images show when variant is chosen?

And the behavior you want is for the images to NOT change??

This can often be a setting in themes check that. 

Otherwise if you mean you want images of variants to show when an option is select that's different per theme though most rely on images being adding to variants.

https://help.shopify.com/en/manual/products/product-media/add-images-variants 

 

The concepts here is linked variant images, variant deep links, etc , and implementing it or disabling it to interact with a PDP's image gallery will vary wildly by theme

 

https://shopify.dev/themes/product-merchandising/variants 

https://shopify.dev/themes/product-merchandising/media/support-media 

https://shopify.github.io/liquid-code-examples/example/preselected-variant-image/ 

Answers powered by coffee Buy Paul a ☕ Coffee for more answers or donate to eff.org

Problem Solved? ✔Accept and Like solutions to help future merchants

Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com