Create a Snippet with metafields info ot add it in the order page and email confirmation

Hi!!

I’m creating a snippet with some metafields information so I can include it on the order page and email confirmation. But I can’t write the code properly… :disappointed_face:

I have this metafields information for each product:

Namespace: downloadable-links

Key: ⤓Download links page

info: (link)

Namespace: downloadable-pass

Key: Password

info: (pass)

And I’d like to assign this class:

I hope someone can help me with this!

Thanks in advance!

:wink:

Vanesa

Basically its


{{ order.metafields.downloadable-pass.password.value }}

Will vary depending on what your contexts are

https://shopify.dev/api/liquid/objects/metafield#access-metafields

If you need dedicated support contact me with this topic url, store url and other use-case details.