Hoping someone can help. I’m trying to add collapsable tabs to my product pages and using metafields to pull in the required information. Within the product description tab I’d like to have a bulleted list. I’ve added a metafield list but when I’m adding the values they’re displaying as:
You can try to add the following code where you want to show the metafield.
{%- if product.metafields.custom.metafield_multi_line != blank -%}
{% for metafield_value in product.metafields.custom.metafield_multi_line.value %}
- {{ metafield_value }}
{% endfor %}
{%- endif -%}
For example, for the Dawn theme, if you want to show the metafield on the product description page, you will add the above code to the main-product.liquid file.
directly in the rich text field. But if I copy and paste the code from Excel, the html code automatically disappears, it’s not shown in the rich text field and the bulletpoints are not working.
Since I have a lot of products, I have to use the import (Matrixify) and it does not work..