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. Needs to include vitrin tags.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.jinjaproduct.jinjacart.jinjalocale/{locale}/LC_MESSAGES/messages.pomsgid → msgstr..mo files (machine-readable) for performance.