orders

{{ '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 %}
{% assign cancelled_at = order.cancelled_at | date: "%B %d, %Y %I:%M%p" %}

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

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

{% endif %} {% 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.product' | t }} {{ 'customer.order.sku' | t }} {{ 'customer.order.price' | t }} {{ 'customer.order.quantity' | t }} {{ 'customer.order.total' | t }}
{{ line_item.title | link_to: line_item.product.url }} {% if line_item.fulfillment %}
{% assign created_at = line_item.fulfillment.created_at | date: format: 'month_day_year' %} {{ 'customer.order.fulfilled_at' | t: date: created_at }}
{% if line_item.fulfillment.tracking_url %} {{ 'customer.order.track_shipment' | t }} {% endif %}
{{ line_item.fulfillment.tracking_company }} {% if line_item.fulfillment.tracking_number %} #{{ line_item.fulfillment.tracking_number }} {% endif %}
{% endif %}
{{ line_item.sku }} {{ line_item.price | money }} {{ line_item.quantity }} {{ line_item.quantity | times: line_item.price | money }}
{{ 'customer.order.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.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 | format_address }}

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

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

{{ order.shipping_address | format_address }}