How can I display custom shop metafield in liquid?

Hi,

I’ve created a metafield in the shop resource:

And i know the value has been saved as i can query it with GraphiQL:

Does anyone know how i can now display this value in liquid? This is what i’ve tried: {{ shop.metafields.hrm.number_of_store_product_overall_impact }} but nothing displays on the frontend. I think i’ve followed the format here: https://shopify.dev/docs/api/liquid/objects/metafield that is {{ resource.metafields.namespace.key }} so i’m not sure why it’s not display? Can Shop metafields be displayed in liquid?

Thanks for your help in advance.

I’ve found my error, i had the key and namespace the wrong way around. It works with {{ shop.metafields.number_of_store_product_overall_impact.hrm }}.

I’ll leave this here just incase it helps someone else.