Meta field richtext frontent view

Topic summary

A developer struggled to display metafield richtext content on the storefront, receiving only JSON format instead of properly rendered text.

Solution Provided:
Another user shared a code snippet using Liquid’s metafield_tag filter to properly render richtext metafields:

{%- if product.metafields.custom.olfactory_notes != blank -%}
  {{ product.metafields.custom.olfactory_notes | metafield_tag }}
{%- endif -%}

Outcome:
Multiple users confirmed this solution resolved their issue, with several expressing frustration that Shopify’s documentation doesn’t clearly explain this approach. The discussion is resolved with a working implementation.

Summarized with AI on November 16. AI used: claude-sonnet-4-5-20250929.

Hi @kim91 , Did you find a solution?