section
The current section.
Available in: Section files.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
section.id |
string | Section ID (unique on the page; use in element IDs). |
section.settings |
object | Settings from its {% schema %}. |
section.blocks |
array of block | Blocks. |
section.index |
number | 1-based position on the page (lazy-load from 3 on). |
section.location |
string | Section group or template. |
Example
Section titled “Example”{{ section.settings.heading }}New inRelated
Section titled “Related”Compatibility
Section titled “Compatibility”Shopify: Same as Shopify.
Since theme platform 1.0.
Was this page helpful?

