Conversations about creating, managing, and using metafields to store and retrieve custom data for apps and themes.
This is an accepted solution.
Hi Dima34,
I was able to output the content type in this loop:
{% for metafield in product.metafields.namespace.key.type %}
{{ metafield }}
{% endfor %}
eg:
Would this approach work for you?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
Hi Dima34,
I was able to output the content type in this loop:
{% for metafield in product.metafields.namespace.key.type %}
{{ metafield }}
{% endfor %}
eg:
Would this approach work for you?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
That helped) Thank you