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