The section object

The section object lets you access a section's properties and setting values.

section.blocks

Returns an array of the section's blocks.

section.id

For static sections, returns the section's file name without ".liquid". For dynamic sections, returns a dynamically generated ID.

section.settings

Returns an object of the section settings set in the theme editor. Retrieve setting values by referencing the setting's unique id.