Themes built on the Twig templating engine are now deprecated and require migration to Vitrin to ensure continued support and compatibility with Zid.
Templates define how each storefront route is rendered in Zid using Jinja2.
Each template file maps to a specific page type (e.g., product, cart, homepage) and determines the layout, sections, and components shown to customers.
Template | Purpose | Route |
---|---|---|
home.jinja | Homepage layout with banners, featured collections, or products. | / |
product.jinja | Inidvidual product details page. | /p/{product} |
cart.jinja | Shopping cart with items and totals. | /cart |
category.jinja | Single category page with product listings. | /c/{category} |
Template | Purpose | Route |
---|---|---|
products.jinja | General product listing (all products). | /p |
search.jinja | Displays search results. | /search?q=term |
categories.jinja | Overview of categories with links. | /categories |
Template | Purpose | Route |
---|---|---|
account_profile.jinja | Customer profile management. | /account/profile |
account_orders.jinja | Customer order history. | /account/orders |
account_addresses.jinja | Customer address book. | /account/addresses |
account_wishlist.jinja | Customer wishlist management. | /account/wishlist |
Template | Purpose | Route |
---|---|---|
blog.jinja | Displays a single blog post. | /blog/{post} |
blogs.jinja | Blog index page with posts list. | /blogs |
page.jinja | Generic CMS/content page. | /page/{slug} |
Template | Purpose | Route |
---|---|---|
faqs.jinja | Frequently Asked Questions. | /faqs |
questions.jinja | Product-specific Q&A. | /questions |
reviews.jinja | Customer reviews section. | /reviews |
shipping_payment.jinja | Shipping & payment info page. | /shipping-payment |
Template | Purpose | Route |
---|---|---|
404_not_found.jinja | Error page for missing content. | |
wishlist.jinja | Standalone wishlist page. | /account/wishlist |
layout.jinja
:
asset_url
filter: