Themes built on the Twig templating engine are now deprecated and require migration to Vitrin to ensure continued support and compatibility with Zid.
Old (Twig) | New (Jinja) |
---|---|
shipping-and-payment.twig | shipping_payment.jinja |
404.twig | 404_not_found.jinja |
products-questions.twig | questions.jinja |
account-addresses.twig
,account-profile.twig
,account-orders.twig
,account-wishlist.twig
)shipping-and-payment.twig
is now shipping_payment.jinja
404.twig
was renamed to 404_not_found.jinja
account-addresses.twig
was renamed to account_addresses.jinja
account-profile.twig
was renamed to account_profile.jinja
account-orders.twig
was renamed to account_orders.jinja
account-wishlist.twig
was renamed to account_wishlist.jinja
products-questions.twig
was renamed to questions.jinja
window.zid.store
is deprecated. You can use window.zid
instead.window.isAuthenticated
and window.isGuest
to check the auth state of a user.product.unavailable
is deprecated. You can use not product.in_stock
instead.request.query
is deprecated. Use session.query_params
.