{% extends 'shop/base.html' %} {% load static %} {% block title %} Checkout {% endblock title %} {% block content %}

Items in Cart

UPDATE CART {% for cp in cart.cartproduct_set.all %} {%endfor%}
SN Product Rate Quantity Subtotal
{{forloop.counter}} {{cp.product.title}} {{cp.rate}} {{cp.quantity}} {{cp.subtotal}}
Total Rs. {{ cart.total }}

Checkout Form

{% csrf_token %} {{form.as_p}}
{% endblock content %}