【发布时间】:2017-02-13 08:52:39
【问题描述】:
随着新主题编辑器的发布,我被分配使用 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 %}
【问题讨论】:
-
在您将其包含在您的主题/液体文件中之前,该部分不会显示在主题编辑器中。
标签: themes shopify liquid sections