{% extends "vendor/base.html" %} {% load static %} {% block extra_css %} {% endblock %} {% block extra_head_js %} {% endblock %} {% block content %}

Checkout form

Below is an example form built entirely with Bootstrap’s form controls. Each required form group has a validation state that can be triggered by attempting to submit the form without completing it.

{% comment %}
{% for order_item in invoice.order_items.all %} {% endfor %}
# Item Price Quantity Total
{{ forloop.counter }} {{ order_item.name}} {{ order_item.price}} {{ order_item.quantity}} {{ order_item.total}}
Shipping ${{ invoice.shipping }}
Tax ${{ invoice.tax }}
Total ${{ invoice.total }}
{% endcomment %}

Your cart {{ invoice.order_items.all.count}}

{% comment %}
{% endcomment %}
{% csrf_token %} {% include "./includes/billing_address_form.html" with billing_address_form=billing_address_form %} {% include "./includes/payment_form.html" with credit_card_form=credit_card_form %} {% comment %} {{ billing_address_form }} {{ credit_card_form }} {% endcomment %}
{% endblock %} {% block extra_js %} {{ google_address_form.media }} {% endblock %}