Metafields Name/Title Variable

Metafields Name/Title Variable

psdev
Visitor
2 0 1

Hi there,

 

The following script returns the key results for a specific namespace:

 

 

{% for field in product.metafields.NAMESPACE%}
{{ field | first}} {{ field | last}}
{% endfor %}

 

 

Where first is the key variable and last the result for this key variable.

 

But how to get the metafield Title for the combination of this namespace.key ? 

 

In other words, the Name we give when creating a new metafield.

Replies 0 (0)