{{ header }}
{% if attention %}
{{ attention }}
{% endif %} {% if success %}
{{ success }}
{% endif %} {% if error_warning %}
{{ error_warning }}
{% endif %}
{{ column_left }} {% if column_left and column_right %} {% set class = 'col-sm-6' %} {% elseif column_left or column_right %} {% set class = 'col-sm-9' %} {% else %} {% set class = 'col-sm-12' %} {% endif %}
{{ content_top }}

{{ heading_title }}

{{ text_checkout_payment_address }}

{{ text_your_details }} {% if guest['firstname'] %}{% endif %} {% if guest['lastname'] %}{% endif %} {% if guest['email'] %}{% endif %} {% if guest['telephone'] %}{% endif %} {% for custom_field in custom_fields %} {% if custom_field['location'] == 'account' %} {% endif %} {% endfor %}
{{ entry_firstname }}{{ guest['firstname'] }}
{{ entry_lastname }}{{ guest['lastname'] }}
{{ entry_email }}{{ guest['email'] }}
{{ entry_telephone }}{{ guest['telephone'] }}
{{ custom_field['name'] }}{{ custom_field['value'] }}
{{ text_your_address }} {% if payment_address['company'] %}{% endif %} {% if payment_address['address_1'] %}{% endif %} {% if payment_address['address_2'] %}{% endif %} {% if payment_address['city'] %}{% endif %} {% if payment_address['postcode'] %}{% endif %} {% if payment_address['country'] %}{% endif %} {% if payment_address['zone'] %}{% endif %} {% for custom_field in custom_fields %} {% if custom_field['location'] == 'address' %} {% endif %} {% endfor %}
{{ entry_company }}{{ payment_address['company'] }}
{{ entry_address_1 }}{{ payment_address['address_1'] }}
{{ entry_address_2 }}{{ payment_address['address_2'] }}
{{ entry_city }}{{ payment_address['city'] }}
{{ entry_postcode }}{{ payment_address['postcode'] }}
{{ entry_country }}{{ payment_address['country'] }}
{{ entry_zone }}{{ payment_address['zone'] }}
{{ custom_field['name'] }}{{ custom_field['value'] }}
{% if has_shipping %}

{{ text_checkout_shipping_address }}

{% if shipping_address['firstname'] %}{% endif %} {% if shipping_address['lastname'] %}{% endif %} {% if shipping_address['company'] %}{% endif %} {% if shipping_address['address_1'] %}{% endif %} {% if shipping_address['address_2'] %}{% endif %} {% if shipping_address['city'] %}{% endif %} {% if shipping_address['postcode'] %}{% endif %} {% if shipping_address['country'] %}{% endif %} {% if shipping_address['zone'] %}{% endif %} {% for custom_field in custom_fields %} {% if custom_field['location'] == 'address' %} {% endif %} {% endfor %}
{{ entry_firstname }}{{ shipping_address['firstname'] }}
{{ entry_lastname }}{{ shipping_address['lastname'] }}
{{ entry_company }}{{ shipping_address['company'] }}
{{ entry_address_1 }}{{ shipping_address['address_1'] }}
{{ entry_address_2 }}{{ shipping_address['address_2'] }}
{{ entry_city }}{{ shipping_address['city'] }}
{{ entry_postcode }}{{ shipping_address['postcode'] }}
{{ entry_country }}{{ shipping_address['country'] }}
{{ entry_zone }}{{ shipping_address['zone'] }}
{{ custom_field['name'] }}{{ custom_field['value'] }}
{% endif %} {% if has_shipping %} {% if not shipping_methods %}
{{ error_no_shipping }}
{% else %}

{{ text_checkout_shipping_method }}

{% for shipping_method in shipping_methods %}

{{ shipping_method['title'] }}

{% if not shipping_method['error'] %} {% for quote in shipping_method['quote'] %}
{% endfor %} {% else %}
{{ shipping_method['error'] }}
{% endif %} {% endfor %}
{% endif %} {% endif %}

{{ text_checkout_payment_method }}

{% for payment_method in payment_methods %} {% if payment_method['code'] == 'paypal' %}
{% endif %} {% endfor %}
{% for product in products %} {% endfor %} {% for voucher in vouchers %} {% endfor %}
{{ column_name }} {{ column_model }} {{ column_quantity }} {{ column_price }} {{ column_total }}
{{ product['name'] }} {% for option in product['option'] %}
- {{ option['name'] }}: {{ option['value'] }} {% endfor %} {% if product['recurring'] %}
{{ text_recurring_item }} {{ product['recurring_description'] }} {% endif %}
{{ product['model'] }} {{ product['quantity'] }} {{ product['price'] }} {{ product['total'] }}
{{ voucher['description'] }} 1 {{ voucher['amount'] }} {{ voucher['amount'] }}

{% if coupon or voucher or reward %}
{{ coupon }}{{ voucher }}{{ reward }}

{% endif %}
{% for total in totals %} {% endfor %}
{{ total['title'] }}: {{ total['text'] }}
{{ content_bottom }}
{{ column_right }}
{{ footer }}