随着新主题编辑器的发布,我被指派使用Shopify的新主题构建器框架构建一个新客户的网站.
一切都很顺利,除了当我在后端创建一个新的"部分"时,它无法出现在主题编辑器的"部分"区域内.
知道这里出了什么问题吗?是否有另一个JSON文件与我缺少的部分相关联?
<div id="callToActions">
<div class="grid grid--no-gutters">
<div class=""></div>
</div>
</div>
{% schema %}
{
"name": "Call to Actions",
"class": "index-section index-section--flush",
"settings": [
{
"id": "cta_1_title",
"type": "text",
"label": "CTA 1 Title",
"default": "Dryups Specials"
}
]
}
{% endschema %}
Run Code Online (Sandbox Code Playgroud)