Templates control what's rendered on each type of page in a theme.
Template files are hosted in the
templates directory of the theme.
You can use JSON templates.
You can use sections in a template, then you should use a JSON template.
JSON templates provide more flexibility for merchants to add, remove, and reorder sections, including app sections. Additionally, they minimize the amount of data in settings_data.json. Instead, data is stored directly in the template, which improves the performance of the theme editor.
JSON templates are data files with the
.liquid file extension. These templates let you easily populate your template with content from sections. Sections can be added, removed, or rearranged by merchants through the theme editor.
To learn more, refer to JSON templates.
You can use the following template types in your theme:
Updated 3 months ago