The section object

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


Returns an array of the section's blocks.

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


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


<h2>{{ section.settings.heading }}</h2>
<a href="{{ section.settings.featured_collection.url }}">This week's best selling items</a>


<h2>Weekly promotion</h2>
<a href="/collections/new-this-week">This week's best selling items</a>

Ready to start selling with Shopify?

Try it free