0
我试图定义模式,以便我的部分可以在管理员中进行编辑和重新排序。我有这两个我的section.liquid文件的底部。Shopify将订购部分和可编辑内容重新排序?
{% schema %}
{
"presets": [
{
"category": "Custom Content",
"name": "Text",
"settings": {
"heading": "Hello World"
}
}
]
}
{% endschema %}
当我把“标题”:“Hello World”的我的错误
Status: 422 Unprocessable Entity Errors: Invalid preset "Text": cannot add settings because there are no settings defined in the schema.
我不能完全肯定有什么地方我需要定义的设置?
另外,当我摆脱设置部分“标题”:“Hello World”它保存但部分不能重新排序,我认为当“预设”部分是在架构中启用?