Sections best practices
When you're designing a theme, you should consider when to provide functionality in a section or a block. Sections and blocks are modular components that give merchants the opportunity to customize and extend their theme.
These guidelines apply to Online Store 2.0 themes, which use JSON templates and section groups. You can't add or remove static sections from Liquid templates or layouts.
Sections are available on all pages.
When building theme templates, you should ensure that your template's default content is available in a main template section, and that sections can be added, removed, and reordered. You can use sections to do the following:
-
To add, remove, or reorder content at the template or section group level
-
To control theme settings that are scoped to the entire section's layout and content
