Somehow shopify creates its own metaobjects/fields, see pictures of the extra blue (blå), I can’t find why this is done and how to prevent it.
I choose from the list among those that already exist, but new ones gets created sometimes.
Somehow shopify creates its own metaobjects/fields, see pictures of the extra blue (blå), I can’t find why this is done and how to prevent it.
I choose from the list among those that already exist, but new ones gets created sometimes.
first big thing is you gotta make sure the metaobject is actually published and the product or page has a valid reference to it
like if you made a metaobject called “ingredients” and it has fields like title and list you need to connect that to the product using a reference metafield
n your code you call it like this
{% assign details = product.metafields.custom.ingredients.value %}
then you can do
{{ details.title }}
{{ details.list }}
if that .value is missing or if the reference is blank then details will be null and nothing will show up