Liquid, JavaScript, themes, sales channels
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.
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!
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024