index.twig template.
Template location
Page structure
The home page uses a simple component-based structure:Available variables
| Variable | Type | Description |
|---|---|---|
page | object | Page object |
page.title | string | Page title (could be HTML) |
page.slug | string | Page slug (e.g., “cat.show”) |
Usage example
Home component
The home page renders using the{% component home %} tag, which displays the configured home page sections from your store’s theme settings.
JavaScript assets
The page loadshome.js for interactive functionality like sliders, product carousels, and other dynamic elements.
The home page content is primarily controlled through the home component, which allows merchants to customize sections without editing template files.