{% extends 'base.html' %} {% block content %} {% load crispy_forms_tags %}

Checkout form

{% comment %}
{% csrf_token %} {{form|crispy}}
{% endcomment %}
{% csrf_token %} {% if not request.user.is_authenticated %}
{% comment %} {% endcomment %} {{form.FirstName}}
{% comment %} {% endcomment %} {{form.LastName}}
@
{% comment %} {% endcomment %} {{form.UserName}}
{% comment %} {% endcomment %} {{form.Email}}
{% endif %}
{% comment %} {% endcomment %} {{form.street_address}}
{% comment %} {% endcomment %} {{form.apartment_address}}
{% comment %} {% endcomment %} {{form.country}}
Please select a valid country.
Please provide a valid state.
{% comment %} {% endcomment %} {{form.zip}}
Zip code required.

{{form.same_shipping_address}}
{{form.save_info}}

{% for name, value in form.fields.payment_option.choices %}
{% endfor %}

Your cart 3

  • Product name
    Brief description
    $12
  • Second product
    Brief description
    $8
  • Third item
    Brief description
    $5
  • Promo code
    EXAMPLECODE
    -$5
  • Total (USD) $20
{% endblock content %}