Create Metafield to Display HTML in Shopify Product Page

Topic summary

A user wants to create an “About the Seller” section on Shopify product pages using metafields that can display HTML content, but finds the multi-line text field limiting.

Proposed Solution:

  • Add HTML directly into a multi-line metafield, which will render correctly on the storefront
  • Display it using a Custom Liquid block with code: {{ product.metafields.custom.METAFIELDKEY }}
  • Replace METAFIELDKEY with the actual metafield key

Complication:
The user cannot use a Custom Liquid block because they need to integrate this content into an existing tab section that only accepts specific field types (as shown in their screenshot).

Status: The discussion remains open with no clear solution for embedding HTML within the tab section’s field constraints. Multiple participants recommend the Custom Liquid approach, but this doesn’t address the tab integration requirement.

Summarized with AI on October 28. AI used: claude-sonnet-4-5-20250929.

I’d like to add a section on the product page called “About the Seller” using a metafield. The issue is that even if I do Multi-line, I’m limited to just text and cannot add any HTML. How can I add a section where I can then put in HTML there?

Thanks in advanced!

Hi @UPCRAFTED ,

Yes, you can add the entire HTML content directly into the multi-line metafield. Even though the input only shows plain text, it will render the HTML correctly on the storefront.

To display this on the product page, you can use a Custom Liquid block and insert the following code:

{{ product.metafields.custom.METAFIELDKEY }}

Just replace METAFIELDKEY with the actual key you’ve used for your metafield.

Let me know if you’d like help with styling or setting up the metafield properly!

If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

Best Regards,
Makka

thank s Makka,

unfortunately I can’t add it to a Custom Liquid block, because I’m adding this into a tab section and it has to go into this field.

@UPCRAFTED
Hello

I think you should use Custom Liquid block
it will be easier for you to use html code