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.