{% extends "shop/base.html" %} {% load i18n %} {% block navbar %}
  • {% trans "Home" %}
  • {% trans "Checkout" %}
  • {% endblock %} {% block content %}

    {% trans "Checkout" %}

    {% trans "Please complete the following information in order to submit your order." %}

    {% if form.errors %}

    {% blocktrans count form.errors|length as count %}Please correct the following error:{% plural %}Please correct the following errors:{% endblocktrans %}

    {% if form.non_field_errors %}

    {{ form.non_field_errors }}

    {% endif %} {% endif %}
    {% block payment_table %} {# put your payment module specific rows here. For example, CC number. #} {% endblock %} {% if cart.is_shippable %} {% if form.shipping_hidden %} {{ form.shipping }}
    {% else %}

    {% trans "Shipping Information" %}

    {% block shipping_table %}
    {% if form.shipping_description or form.shipping.field.choices|length_is:1 %} {% else %} {% endif %} {{ form.shipping }} {% if form.shipping_description %}
    {{ form.shipping_description }}{% endif %} {% if form.shipping.errors %}*** {{ form.shipping.errors|join:", " }}{% endif %}
    {% endblock %} {% endif %} {% else %}

    {% trans "There are no items in this order to ship." %}

    {{ form.shipping }} {% endif %} {% if form.shipping.field.choices|length_is:0 and cart.is_shippable %}

    {% blocktrans %}No valid shipping method is available. Please verify that your address is correct.{% endblocktrans %}

    {% else %} {% endif %}
    {% endblock %}