To add Metafields into Product Details Tab in product detailed page

Hi All,

I have created a metafield with the following details:

Now, I have been trying to add a metafield into a custom tab in the Product Detail Page by adding the following code:

Materials: {{ product.metafields.custom.materialsnew.value }}

Following is the screenshot:

But it shows the following message:

Setting ‘content’ can’t include Liquid syntax (‘{{’, ‘}}’, ‘{%’ or ‘%}’) without valid dynamic sources.

Also the theme has been used - Optimal-install-me

Please support to resolve this issue. I am stuck for a long period due to this issue.

Thanks a lot!!!

Hi @bhaskarch

In cutomizer can’t add liquid code, you can add metafields directly in product details page liquid files.