Error when trying to save a custom product meta fields entry in the product.json - ELLA theme

Error when trying to save a custom product meta fields entry in the product.json - ELLA theme

cozyboxfl
Visitor
1 0 0

I run shopify on the ella theme and I created custom meta fields. I want to display them in the Tab section of each product. I am getting the error message, that the file cannot be updated because the setting 'content' should not contain Liquid syntax ('{{', '}}', '{%', or '%}') without valid dynamic sources.

This is the json code I created:

"b9d6eb19-10f4-41f8-bfdc-ea10e8b3182a": {
  "type": "custom",
  "settings": {
    "open_tab_mobile": false,
    "title": "Custom Tab",
    "type": "all",
    "content": "<table>\n    <tbody>\n        <tr>\n            <td class=\"tb-title\">Minimum Quantity<\/td>\n            <td>{{ product.metafields.custom.minimum_quantity }}<\/td>\n        <\/tr>\n        <tr>\n            <td class=\"tb-title\">Size<\/td>\n            <td>{{ product.metafields.custom.size }}<\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>",
    "enable_btn_show_more": false,
    "maximum_des_to_show": 300,
    "product_custom_source": "key_text",
    "product_tab_key_metafield": ""
  }
}

The "Minimum Quantity Field is a number", the Size Field is  "Text".

Can you help me with that?

Thanks.

Replies 0 (0)