Liquid, JavaScript, themes, sales channels
In a shopify page I'm trying to output a list of products (from a collection) along with its meta information like so:
{%- for product in collections.my-handle.products -%}
{{ product.metafields.global.title_tag }}
{%- endfor -%}
It's working fine by using the English Locale but as soon as I change the language the Meta Information is still English and won't change. There is a translation available because on the product page itself the meta title in the browser is tranlated correctly. I'm using LangShop for translation.
Any recommendations?
They probably just store that translated text in a different metafield or somewhere else. I'd suggest you reach out to the LangShop support and ask them, or check their docs.
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