Help Center › Themes & templates
How themes work
The building blocks of a store design, and where each part lives.
A theme controls how a store looks. Themes here work like Shopify's Online Store 2.0 themes: pages are made of sections, sections contain blocks, and everything is configured with settings that merchants change in the visual editor, with no code needed.
A template is a ready-made theme that the platform offers to every merchant (Super admin → Templates). When a merchant picks one, it is copied into their store as a theme they can customize.
| Part | What it is | Who edits it |
|---|---|---|
| Layout | The HTML shell around every page (<head>, header group, main content, footer group) | Developers (code editor) |
| Page templates | JSON lists of sections for each page type: home, product, collection, cart… | Merchants (visual editor) |
| Section groups | The header and footer, shared by every page | Merchants |
| Sections | Reusable pieces of a page: banner, featured products, FAQ… (Liquid + CSS + schema) | Developers; merchants add and configure them |
| Blocks | Repeatable items inside a section: slides, FAQ questions, buttons… | Merchants |
| Snippets | Small Liquid partials included with {% render %} | Developers |
| Theme settings | Global colors, fonts, spacing, cart style, social links | Merchants |
Nothing is stored as a file. Themes, sections, snippets and settings live in each store's SQLite database. Built-in sections ship with the platform code, so a platform update improves every store. A store only stores its overrides and custom sections.
Three ways to change a design#
- Visual editor (Store admin → Online Store → Customize): add, remove, reorder and configure sections and blocks, and change theme settings, with a live preview.
- Code editor (Online Store → ⋯ → Edit code, on plans with the code editor): change any section's Liquid, CSS and schema, create new sections and snippets, edit the layout and template JSON.
- AI and MCP: generate a whole template with the AI studio, or ask an AI agent connected over MCP to "add a countdown section to the home page". See MCP connector.
Page types#
| Template key | Page | Main section |
|---|---|---|
index | Home page | (none, any sections) |
product | Product page | main-product |
collection | Collection page | main-collection |
list-collections | All collections | main-list-collections |
cart | Cart | main-cart |
page | Content pages | main-page |
page.contact | Contact page (template_suffix: contact) | main-page + contact-form |
search | Search results | main-search |
404 | Not found | main-404 |
Customer account pages (customers/login, customers/register, customers/account, customers/order) use built-in templates.
Next: Theme structure explains the JSON format, and Sections shows how to write your own.
Didn’t find what you need?Contact support