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

Order Summary

{% for order_item in object.items.all %} {% empty %} {% endfor %} {% if object.coupon %} {% endif%} {% if object.get_total %} {% endif %}
# Product Name Price Qty Total Price
{{ forloop.counter }} {{ order_item.item.title }} {{ order_item.item.price }} {{ order_item.quantity }} {% if order_item.item.discount_price %} ${{ order_item.get_total_discount_item_price}} Saving ${{ order_item.get_amount_saved }} {% else %} ${{ order_item.get_total_item_price}} {% endif %}
Your cart is empty
Coupon : - ${{ object.coupon.amount }}
Order Total : ${{ object.get_total }}
Checkout Continue Shopping
{% endblock content %}