{% extends "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 %}

    {% endif %} {% block payment_table %} {# put your payment module specific rows here. For example, CC number. #} {% endblock %} {% block discount_table %} {% if sale %}{% include "discount/checkout_form.html" %}{% endif %} {% endblock %} {% if cart.is_shippable %}

    {% trans "Discounts" %}

    {{ form.discount }}
    {% if form.discount.errors %}*** {{ form.discount.errors|join:", " }}{% endif %}

    {% trans "Shipping Information" %}

    {% block shipping_table %}
    {{ form.shipping}} {% if form.shipping.errors %}*** {{ form.shipping.errors|join:", " }}{% endif %}
    {% endblock %} {% else %} {% endif %} {% endblock %}