{% extends "shop/base.html" %} {% load i18n %} {% block extra-head %} {% include "contact/_contact_info_form.html" %} {% endblock %} {% 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.non_field_errors %}

    {% trans "Please correct the following error:" %}

    {{ form.non_field_errors }} {% endif %} {% if user.is_anonymous %}
    {% trans "If you already have an account, you can login now to fill in most of the information below." %} {% trans "This is just a convenience, no account is required!" %}
     
    {% endif %}
    {% ifequal paymentmethod_ct 1 %} {# If we only have one payment method, then the form renders it as a hidden field #}{{ form.paymentmethod }} {% else %} {% if form.paymentmethod.errors %}{% endif %} {% endifequal %} {% if form.email.errors %}{% endif %} {% if form.first_name.errors %}{% endif %} {% if form.last_name.errors %}{% endif %} {% if form.phone.errors %}{% endif %} {% block billing-info %}{% include "contact/_contact_info_form_billing.html" %}{% endblock %} {% if cart.is_shippable %} {% block shipping-info %}{% include "contact/_contact_info_form_shipping.html" %}{% endblock %} {% endif %} {% if form.discount.is_hidden %} {{ form.discount }} {% else %} {% if form.discount.errors %}{% endif %} {% endif %} {% if sale %}{% include "product/sale_details.html" %}{% endif %}

    {% trans "You'll need to fill out at least the fields with a *" %}

    {% trans "How do you want to pay?" %}

    {{ form.paymentmethod }}
    *** {{ form.paymentmethod.errors|join:", " }}

    {% trans "Basic Information" %}

    {{ form.email }}
    *** {{ form.email.errors|join:", " }}
    {{ form.first_name }}
    *** {{ form.first_name.errors|join:", " }}
    {{ form.last_name }}
    *** {{ form.last_name.errors|join:", " }}
    {{ form.phone }}
    *** {{ form.phone.errors|join:", " }}

    {% trans "Discounts" %}

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