Skip to content

Section groups ​

Last updated View as Markdown
  • Save a section group as a JSON file in the sections directory, with a type, a name, the sections and their order.
  • Render a group in a layout with the sections tag: {% sections 'header-group' %}.
  • In the theme editor, sellers can add, remove, duplicate, reorder and edit the sections of a group. The changes are saved to the group file.
  • Use groups in enabled_on and disabled_on to choose the groups where a section can be added.
  • block_order is accepted as another name for order in a section object.
  • A .liquid file in the templates directory is skipped on upload, and a warning is shown.
  • A default schema locale file can also be named en.default.schema.json.

Last updated: