Show metafield with html and a tag (link) on product page

Topic summary

A user is trying to display a metafield containing HTML and hyperlinks on their product page. The metafield content comes from a WordPress short description and includes formatted text with links to other products.

Problem identified:

  • The ‘rich text’ metafield type is not activated/available, possibly due to using a free theme
  • User needs an alternative method to render HTML content with clickable links

Solution provided:

  • Use a multiline metafield type instead of rich text
  • Output the metafield through theme code, theme setting blocks with dynamic sources, or custom Liquid blocks
  • Example syntax: {{ product.metafields.status.replacement_html.value }}
  • Alternatively, use a URL metafield type for link-specific content

Note: The metafield namespace (“status”) and keys (“replacement_html”) are arbitrary and can be customized for organizational purposes.

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

Hello,

How can I show a metafield with HTML tags and a link in it?
The orange part should be link to another product.
The metafield is from Wordpress short description so the value for the metafield is exactly like the one in the blue box.
I wanted to use ‘rich text’ type when I add definition for the metafield, but the ‘rich text’ type is not activated, so I couldn’t use it. Is it because I use a free theme?
If the rich text is not the only way, how can I show the link?

Hello @yoonlaser You’d just use a multiline metafield type, put in your content then output it either by coding it into the theme, using a theme setting block that can use it as a dynamic source.

Or use a custom-liquid block to output it using liquid i.e. {{ product.metafields.status.replacement_html.value }} or use a url metafield type {{ product.metafields.status.replacement_url.value }} .

Note the metafield namespace “status” and keys like “replacement_html” are arbitrary name them what you want for organization.

If you need this customization setup then contact me by mail for services.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Contact info in signature.

Good Hunting.