Skip to product information
1 of 1
Published:2024.07.15

Example of settings for using HTML tags in a "Collapsible Row" block linked to a metafield in the Shopify theme "Dawn"

Example of settings for using HTML tags in a "Collapsible Row" block linked to a metafield in the Shopify theme "Dawn"

Applications

  • Theme Management

How to implement

  • Theme Editor
View full details

You may want to use HTML tags when setting and displaying metafield values in the "Collapsible Row" block on the product detail page of the Shopify theme "Dawn." By default, HTML tags are escaped and displayed as is, so you'll need to do a little work.


A sample setting for using HTML tags in a "Collapsible Row" block linked to a metafield on the product details page of the Shopify theme "Dawn"


[(For the Dawn theme) Setup procedure] Change the richtext type of the block "collapsible_tab" in the schema of "main-product.liquid" and set the liquid code that references the metafield in the theme editor.


[(For the Dawn theme) How to use] HTML tags written in the meta field will be enabled, allowing for rich expressions.


Related Post