Migration Notes: Syntax & Template Renames (Copyable Markdown)#
For syntax differences between Twig and Jinja, see: Templates Renamed#
Some template names were standardized to use underscores instead of dashes.| Old (Twig) | New (Jinja) |
|---|
shipping-and-payment.twig | shipping_payment.jinja |
404.twig | 404_not_found.jinja |
products-questions.twig | questions.jinja |
The following templates will not be allowed to be overriden by themes, but instead provided by zid's storefront system:(account-addresses.twig,account-profile.twig,account-orders.twig,account-wishlist.twig)
Templates renamed#
some templates names were standardazed to use underscore instead of dashes#
Global variables#
window.zid.store is deprecated. You can use window.zid instead.
Auth state has been simplified, now you can use window.isAuthenticated and window.isGuest to check the auth state of a user.
Variables#
product.unavailable is deprecated. You can use not product.in_stock instead.
using request.query is deprecated. Use session.query_params.
Modified at 2026-02-17 07:02:10