To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more

Images changing when Language is changed.

FatimaBaloch1
New Member
2 0 0

I want to change the pictures on my products when someone changes the language.  I'm using German as a basic language But I have the traffic from other countries as well so for that I want to add different images for different languages. 

Reply 1 (1)
LitExtension
Shopify Partner
4807 985 1013

Hi @FatimaBaloch1,

You can use 'request.locale.iso_code' to check if the locale is showing at the site and then add conditions to display different images. Refer https://shopify.dev/api/liquid/objects/shop-locale#shop_locale-iso_code

Hope it helps!

 

 

LitExtension - Shopping Cart Migration Expert
Check out our Shopify migration app to migrate your online store to Shopify