Skip to content
New Webhooks added: Inventory and Order modifications. Check the changelog →
Cartly Developers

Section Groups

header-group and footer-group schema for Cartly themes — manage header and footer in dedicated Visual Editor tabs.

Overview

Section Groups are template-level containers separating header and footer from the page body. Built-in group names: header-group, footer-group. Visual Editor shows dedicated Header / Footer tabs.

Render in layouts/theme.liquid: {%- sections 'header-group' -%} and {%- sections 'footer-group' -%}.

Template JSON schema

Add a top-level groups object. Each key is the group name; value has name (display label) and sections (array of section keys from this template's sections map).

Alternate Templates

Naming: templates/<base>.<suffix>.json — base: product | page | collection | article. Discovered automatically. Admin entity edit form shows a Theme template dropdown. API: GET /admin/theme/library/:id/page-templates?type=<base>.

Full Section Groups guide →