{% extends 'checkout/layout.html.twig' %} {% set checkout_step = 'address' %} {% block checkout_content %} {{ form_start(form, {'attr': {'novalidate': 'novalidate'}}) }} {{ form_row(form._token) }}

Shipping Address

{% include 'checkout/partials/address_book.html.twig' %} {% if form.customer is defined %} {{ form_row(form.customer.email, {'help': 'Have an account? Login', 'help_html': true}) }} {% endif %} {% include 'checkout/partials/address_form.html.twig' with {'form': form.shippingAddress} %} {% set toggleOptions = {'target': '#billing_address', 'placeholder': '#billing_address_placeholder'}|json_encode %} {{ form_row(form.differentBillingAddress, {'widget_attr': {'attr': {'data-component': 'toggle', 'data-toggle': toggleOptions}}}) }}

Billing Address

←  Back
{{ form_end(form, {'render_rest': false}) }} {% endblock %}