Themes built on the Twig templating engine are now deprecated and require migration to Vitrin to ensure continued support and compatibility with Zid.
A theme defines how a Zid storefront looks, works, and stays organized.
Themes are built with Jinja templates plus JSON schema files for editable settings, all arranged in a consistent folder structure.
├── locale/ar/LC_MESSAGES/messages.po
├── assets/
├── sections/
│ ├── slider.jinja
│ └── slider_schema.json
├── components/
│ └── pagination.jinja
└── templates/
│ ├── home.jinja
│ ├── cart.jinja
│ └── product.jinja
├── layout.jinja
├── layout_schema.json
├── footer.jinja
├── footer_schema.json
├── header.jinja
└── header_schema.json
Layout
<head>
tags, header/footer, and global scripts. Templates extend these layouts, main.jinja
is applied by default.Section
.jinja
markup file and a companion .json
schema. The schema surfaces settings in the Theme Editor, and the section can render multiple components to build complex layouts.Component
.jinja
markup and .json
schema so that it can be customized by merchants.assets/
asset_url
filter to output its cache‑busted CDN URL:
home.jinja
product.jinja
cart.jinja
locale/{locale}/LC_MESSAGES/messages.po
msgid
→ msgstr
..mo
files (machine-readable) for performance.