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

Topic summary

A user is encountering an error when attempting to save custom metafield entries in the product.json file of the ELLA Shopify theme. They want to display custom metafields in the product Tab section.

Error Details:

  • The system rejects the save because the ‘content’ setting contains Liquid syntax ({{, }}, {%, or %}) without valid dynamic sources
  • The user created a custom tab with metafields for product information like size and minimum quantity

Technical Context:

  • Custom metafields include: product size (text field) and minimum quantity (number field)
  • The metafield key is “product_tab_key_metafield”
  • Maximum description to show is set to 300 characters

Current Status:

  • The discussion remains open with the user seeking help to resolve the Liquid syntax validation error
  • No solutions or responses have been provided yet
Summarized with AI on November 19. AI used: claude-sonnet-4-5-20250929.

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.