Hello,
Today I built some metafiles into our shop that are offered via Shopify.
The product.metafields.my_fields. work, only with the variant.metafields.my_fields
I don’t get any output on the page.
Works:
{{product.metafields.my_fields.speciality}}
It does not work:
{{variant.metafields.my_fields.variante_besonderheit}}
Am I doing something wrong, do I have to change the text output for variants?
Thanks
Marco
The further attempts did not bring anything either, I was not given any text for the variants. Anyone else from you have an idea?
You need to add “for” variant for it. Refer
{%- for variant in product.variants -%}
{{variant.metafields.my_fields.variante_besonderheit}}
{%- endfor -%}
Hope it clear to you.
Hello LitExtension,
Thank you, it looks a lot better 
How can I just output the text for the selected varinate?
With your example, the text is displayed for both variants.
Thank you
Marco