{% extends 'dashboard.html' %} {% load static %} {% block head_title %}Order No. {{ order.pk }} | {% endblock %} {% block content %}

← Back to orders

Order No. {{order.pk}}

{% if perms.core.cancel_order and order.status != 'canceled' %} Cancel order {% endif %}

Details

Date
{{ order.created_at }}
Customer
{{order.customer.get_full_name}}{{order.customer.email}} ↗
{% if order.subscription %}
Subscription
{{ order.subscription_description }} View on Stripe ↗
{% else %}
PayPal Transaction
{{order.transaction.get_status_display}} View on PayPal ↗
{% endif %}
Status
{{order.get_status_display}} ({{order.total_quantity_fulfilled}} / {{order.total_quantity_ordered}})

Items

Fulfill order →
{% for line in order.lines.all %} {% if line.variant %} {% with product=line.variant.product %} {% endwith %} {% elif line.product %} {% with product=line.product %} {% endwith %} {% endif %} {% endfor %} {% if order.coupon_amount > 0 %} {% endif %}
Product SKU Quantity Price Total
{% if line.variant.image %} {{line.variant.image.image}} {% else %} {{product.get_first_img.image}} {% endif %}
{{line.variant}}
{{line.customer_note}}
{{product.sku}} {{line.quantity}} ${{line.unit_price}} ${{line.get_total}}
{% if line.variant.image %} {{line.variant.image.image}} {% else %} {{product.get_first_img.image}} {% endif %}
{{line.product}}
{{line.customer_note}}
{{product.sku}} {{line.quantity}} ${{line.unit_price}} ${{line.get_total}}
Subtotal: ${{order.subtotal_amount}}
Discount: ${{ order.coupon_amount }}
Shipping: ${{ order.shipping_total }}
Total: ${{ order.total_amount }}

Shipping

Add tracking
Shipping address {% include 'dashboard/partials/_address.html' with address=order.shipping_address %}
{% for number in order.tracking_numbers.all %} {% empty %} {% endfor %}
Date Tracking Number
{{number.created_at|date:"SHORT_DATE_FORMAT" }} {{number.tracking_id}} ↗
No tracking information.
{% endblock content %}