Display rich text metafield in e-mail

Hello,

I’d like to display some basic rich text metafield like cancellation policy (different for every product) inside e-mail notification. If I do something like

{{ product.metafields.custom.cancellation_policy | metafield_tag }}

inside a product template, it works as expected. However inside e-mail template the metafield_tag doesn’t seem to work and it returns the js object representation. I understand that e-mail templates have their limitations, but is there any way to display metadata containing simple lists, strong text or hyperlinks?

Thank you

Vojtěch

2 Likes