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.jinja404.twig was renamed to 404_not_found.jinjaaccount-addresses.twig was renamed to account_addresses.jinjaaccount-profile.twig was renamed to account_profile.jinjaaccount-orders.twig was renamed to account_orders.jinjaaccount-wishlist.twig was renamed to account_wishlist.jinjaproducts-questions.twig was renamed to questions.jinjawindow.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.