Test Orders

{% include 'breadcrumb' %}

{{ 'customer.account.title' | t }}

{{ 'customer.order.title' | t: name: order.name }}

{{ 'customer.order.date' | t: date: order.created_at | date: "%B %d, %Y %I:%M%p" }}

{% if order.cancelled %}
{{ 'customer.order.cancelled' | t: date: cancelled_at }}

{{ 'customer.order.cancelled_reason' | t: reason: order.cancel_reason }}

{% endif %} s {% for line_item in order.line_items %} {% endfor %} {% for discount in order.discounts %} {% endfor %} {% for shipping_method in order.shipping_methods %} {% endfor %} {% for tax_line in order.tax_lines %} {% endfor %}
{{ 'customer.order.details.product' | t }} {{ 'customer.order.details.price' | t }} {{ 'customer.order.details.quantity' | t }} {{ 'customer.order.details.total' | t }}
{{ line_item.title | link_to: line_item.product.url }} {% if line_item.fulfillment %}
{{ 'customer.order.details.fulfilled_at' | t: date: created_at }} {% if line_item.fulfillment.tracking_number %} {{ line_item.fulfillment.tracking_company }} #{{ line_item.fulfillment.tracking_number}} {% endif %}
{% endif %}
{{ line_item.price | money }} {{ line_item.quantity }} {{ line_item.quantity | times: line_item.price | money }}
{{ 'customer.order.details.subtotal' | t }} {{ order.subtotal_price | money }}
{{ discount.code }} {{ 'customer.order.discount' | t }} {{ discount.savings | money }}
{{ 'customer.order.shipping' | t }} ({{ shipping_method.title }}) {{ shipping_method.price | money }}
{{ 'customer.order.tax' | t }} ({{ tax_line.title }} {{ tax_line.rate | times: 100 }}%): {{ tax_line.price | money }}
{{ 'customer.order.details.total' | t }} {{ order.total_price | money }} {{ order.currency }}

{{ 'customer.order.billing_address' | t }}

{{ 'customer.order.payment_status' | t }}: {{ order.financial_status_label }}

{{ order.billing_address.name }}

{% if order.billing_address.company != '' %} {{ order.billing_address.company }}
{% endif %} {{ order.billing_address.street }}
{{ order.billing_address.city }}
{% if order.billing_address.province != '' %} {{ order.billing_address.province }}
{% endif %} {{ order.billing_address.zip | upcase }}
{{ order.billing_address.country }}
{{ order.billing_address.phone }}

{{ 'customer.order.shipping_address' | t }}

{{ 'customer.order.fulfillment_status' | t }}: {{ order.fulfillment_status_label }}

{{ order.shipping_address.name }}

{% if order.shipping_address.company != '' %} {{ order.shipping_address.company }}
{% endif %} {{ order.shipping_address.street }}
{{ order.shipping_address.city }}
{% if order.shipping_address.province != '' %} {{ order.shipping_address.province }}
{% endif %} {{ order.shipping_address.zip | upcase }}
{{ order.shipping_address.country }}
{{ order.shipping_address.phone }}