FROM CACHE - en_header

Get metafield namespace from theme section settings

csmits
Tourist
11 0 3

I'm looking for a way to get the 'Namespace' of a dynamic resource (metafield) when it is selected in the theme settings.

Right now it seems like we're only able to receive the actual value of the metafield, but it would be really useful if we could also access the namespace!

For example, I have a product metafield 'Care guide'. (image 1) When the merchants selects this metafield as a dynamic resource in a text input in the theme editor (image 2), i'm only able to display the 'Handwash only' value. I would like to access the 'Care guide' text as well so I can also display this.

metafield1.pngmetafield2.png

Replies 0 (0)