sections
The section
object lets you access a section's properties.
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
.
<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>
Updated over 3 years ago