Not able to retrieve {{app.metafields.our_nspace.our_k.value}} in liquid as app object is undefined

tobi_ign
Shopify Partner
1 0 0

Hi all, 

 

we are building a theme app extension for which we need to store an app-owned metafield and invoke it in a liquid file. The creation works, and we verified that the app-owned metafield exists for the appinstalltion we are working with. 

However, when trying to retrieve {{ app.metafield.our_namespace.our_key.value }} the theme-check returns "app object" is undefined. Does anyone have a hint how to solve this issue?

Thanks in advance! Any help is much appreciated.

Reply 1 (1)

arivusurya
Shopify Partner
2 0 0

did you figure this out , if yes means please help me out on this