We have a theme that is live and no errors. Downloaded an update to the theme, merged changes from live into this, all works well when developing it locally using the CLI. Files are all in the GIT repo, but the GitHub integration theme log displays an error that makes no sense:
Error: templates/product.alt.json, Validation failed: Setting 'summary_text' is invalid. All top level nodes must be '<p>' tags, Invalid value for type in block '9c7d3801-6516-4da3-9377-14087a4da194'. Type must be defined in schema.
This is an alternative product template with text to display for that template. The schema is set up like this:
{
"name": "Summary text",
"type": "product-summary",
"settings": [
{
"type": "text",
"id": "summary_text",
"label": "Product Summary Text",
"default": "Default content"
}
]
},
Block set up here, as you can see, it’s text within an h4 tag:
{%- when 'product-summary' -%}
<div class="product-summary">
<h4>{{ block.settings.summary_text }}</h4>
</div>
Anyone able to help or has had issue with a theme developed and connected to Shopify through Github?