{% extends "base.html" %} {% import "macros/financials.html" as financials %} {% block page_title %}Order Confirmed{% endblock %} {% block head %} {% if is_pending %} {% endif %} {% endblock %} {% block content %}
{% if is_pending %} {% else %} {% endif %} {% if is_pending %}

Processing your order

We are finalizing order {{ order.order_number }}. This page will update when confirmation is complete.

{% else %}

Order confirmed

Thank you for your order. Your order number is {{ order.order_number }}.

{% endif %} {% if not is_pending %}
Date {{ order.created_at | date_in_tz(timezone=settings.timezone) }}
{% if order.delivery_date %}
Delivery date {{ order.delivery_date | date_in_tz(timezone=settings.timezone, format="%d %b %Y") }}
{% if delivery_slot %}
Delivery slot {{ delivery_slot.name }} ({{ delivery_slot.start_time }} - {{ delivery_slot.end_time }})
{% endif %}
{% endif %}
{{ financials::financial_summary(order=order, currency_symbol=currency_symbol | default(value='$')) }}

Items in this order

{% if line_items and line_items | length > 0 %} {% for item in line_items %}
{{ item.product_name | default(value="Product") }}
{% if item.variant_label %}
{{ item.variant_label }}
{% endif %}
{{ item.quantity }} × {{ currency_symbol }}{{ item.unit_price | price }}
{{ currency_symbol }}{{ item.subtotal | price }}
{% endfor %} {% else %}

Order items are not available right now.

{% endif %}
{% endif %} Continue shopping
{% endblock %}