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!
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023