Make words bold in a product meta field

Hello there,

I have someone developing my website and they don’t seem to understand a minor customisation request or cant work around it:

I have drop down box titled ‘Description’ which I understand is a metafield. I want certain words in the box to be bold. please see the attached image. Currently using DAWN theme

the words ‘Top Notes:’ ‘middle notes:’ ‘Base notes:’

needs to be in bold.

I currently only have one product added, then going to export a .csv file and then mass import but I want to overcome this issue first.

can anyone help resolve the issue.

many thanks

Hi @mmagm995

To bold text in the metafield do the follow steps:

  1. Create or edit the product metafield with the type “rich text”

  2. Add content to your metafield on the product and bold what you would like

  3. In your collapsable content add the following code to the “row content”

**Make sure to update with your namespace and key

{{ product.metafields.your_namespace.your_key  | metafield_tag }}

Your namespace and key can be found with the following steps

  1. content> metaobjects > manage definitions

  1. click products and select the metafield you are wanting to use

  1. Your namespace and key can be found here (see image below)

Here’s what you should get:

Hope this helps!

1 Like