section
section 的属性和 settings。
📘 提示
要了解 sections 及其在主题中的使用方式,请参阅 Sections。
Properties | Type | Description |
|---|---|---|
| an array of block | section 中的 blocks。 |
| section 的 ID。 通过 JSON templates 包含的 sections,其 ID 由 Shoplazza 动态生成。 | |
| section 的 settings。 要了解如何访问 settings,请参阅访问 settings。 |
{
"id": "1686734485738",
"blocks": [],
"settings": {
"title": "Accessories list",
"pc_per_row": 4,
"md_per_row": 2,
"spacing": {
"pc": {
"top": "40",
"right": "",
"bottom": "40",
"left": ""
},
"mobile": {
"top": "20",
"right": "",
"bottom": "20",
"left": ""
}
}
}
}