get_metafields
Get the metafield object associated with a specific resource.
To be used in combination with the following objects:
obj | get_metafields(namespace) returns [metafields]
Params
-
objany: The specified resource object. -
namespacestring: The namespace of the metafield.
Example
{{#var mf = product | get_metafields("seo") /}}
{{ mf.seo_key.value }}
Was this article helpful to you?