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

Order #{{ order.id }}

Placed on {{ order.created_at|date:"F j, Y, g:i a" }}

Total: ${{ order.total_price }}

Order Items

{% for item in order_details %} {% endfor %}
Product Price Quantity Subtotal
{% if item.product.image %} {{ item.product.name }} {% else %} 📷 {% endif %}
{{ item.product.name }}
${{ item.product.price }}
{{ item.quantity }}
${{ item.subtotal }}
Back to Orders
{% csrf_token %}
{% endblock %}