View & Template Rendering
Login-Register-Guest
{# templates/orders/login/index.html #} {% from 'auth/_forms/loginForm.html' import LoginForm %} {% from 'auth/_forms/registerForm.html' import RegisterForm %} {% from 'auth/_forms/guestForm.html' import GuestForm %}{# templates/orders/login/index.html #} {{ LoginForm() }} {# The default id value is "LoginForm". #} {{ LoginForm('checkout_login_form') }} {# It can also be used with the custom id value. #} {{ RegisterForm() }} {# The default id value is "RegisterForm". #} {{ RegisterForm('checkout_register_form') }} {# It can also be used with the custom id value. #} {{ GuestForm() }} {# The default id value is "GuestForm". #} {{ GuestForm('checkout_guest_form') }} {# It can also be used with the custom id value. #}/* templates/orders/login/index.js */ import LoginForm from '../../auth/_forms/loginForm'; import RegisterForm from '../../auth/_forms/RegisterForm'; import GuestForm from '../../auth/_forms/guestForm';/* templates/orders/login/index.js */ constructor() { new LoginForm(document.getElementById('LoginForm')); new RegisterForm(document.getElementById('RegisterForm')); new GuestForm(document.getElementById('GuestForm')); }
Checkout/Address-Payment
Address (Address Tab)
Payment (Payment Tab)
Summary (Order Summary)
templateRenderer
Last updated
Was this helpful?

