section
The properties and settings of a section.
Tip
To learn about sections and using them in a theme, refer to Sections.
Properties | Type | Description |
---|---|---|
blocks | an array of block | The blocks of the section. |
id | string | The ID of the section. The ID for sections included through JSON templates is dynamically generated by Shoplazza. |
settings | The settings of the section. To learn about how to access settings, refer to Access 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": ""
}
}
}
}
Updated over 1 year ago