{{ 'customer.css' | asset_url | stylesheet_tag }} {%- style -%} .section-{{ section.id }}-padding { padding-top: {{ section.settings.padding_top | times: 0.75 | round: 0 }}px; padding-bottom: {{ section.settings.padding_bottom | times: 0.75 | round: 0 }}px; } @media screen and (min-width: 750px) { .section-{{ section.id }}-padding { padding-top: {{ section.settings.padding_top }}px; padding-bottom: {{ section.settings.padding_bottom }}px; } } {%- endstyle -%}

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

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

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

{%- assign order_date = order.created_at | time_tag: format: 'date_at_time' -%}

{{ 'customer.order.date_html' | t: date: order_date }}

{%- if order.cancelled -%} {%- assign cancelled_at = order.cancelled_at | time_tag: format: 'date_at_time' -%}

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

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

{%- endif -%} {%- for line_item in order.line_items -%} {%- endfor -%} {%- if order.cart_level_discount_applications != blank -%} {%- for discount_application in order.cart_level_discount_applications -%} {%- endfor -%} {%- endif -%} {%- for shipping_method in order.shipping_methods -%} {%- endfor -%} {%- for tax_line in order.tax_lines -%} {%- endfor -%} {%- if order.total_duties -%} {%- endif -%} {%- if order.total_refunded_amount > 0 -%} {%- endif -%}
{{ 'customer.order.title' | t: name: order.name }}
{{ 'customer.order.product' | t }} {{ 'customer.order.sku' | t }} {{ 'customer.order.price' | t }} {{ 'customer.order.quantity' | t }} {{ 'customer.order.total' | t }}
{%- if line_item.url != blank -%} {{ line_item.title }} {%- else -%}

{{ line_item.title }}

{%- endif -%} {%- assign property_size = line_item.properties | size -%} {%- unless line_item.selling_plan_allocation == null and property_size == 0 -%}
{%- unless line_item.product.has_only_default_variant -%} {{ line_item.variant.title }} {%- endunless -%} {%- unless line_item.selling_plan_allocation == null -%} {{ line_item.selling_plan_allocation.selling_plan.name }} {%- endunless -%} {%- if property_size != 0 -%} {%- for property in line_item.properties -%} {% assign property_first_char = property.first | slice: 0 %} {%- if property.last != blank and property_first_char != '_' -%} {{ property.first }}: {%- if property.last contains '/uploads/' -%} {{ property.last | split: '/' | last }} {%- else -%} {{ property.last }} {%- endif -%} {%- endif -%} {%- endfor -%} {%- endif -%}
{%- endunless -%} {%- if line_item.line_level_discount_allocations != blank -%}
    {%- for discount_allocation in line_item.line_level_discount_allocations -%}
  • {{- discount_allocation.discount_application.title }} (- {{- discount_allocation.amount | money -}} )
  • {%- endfor -%}
{%- endif -%} {%- if line_item.fulfillment -%}
{%- assign created_at = line_item.fulfillment.created_at | time_tag: format: 'date' -%} {{ 'customer.order.fulfilled_at_html' | 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 }} {%- if line_item.original_price != line_item.final_price or line_item.unit_price_measurement -%}
{%- if line_item.original_price != line_item.final_price -%}
{{ 'products.product.price.regular_price' | t }}
{{ line_item.original_price | money }}
{{ 'products.product.price.sale_price' | t }}
{{ line_item.final_price | money }}
{%- else -%}
{{ 'products.product.price.regular_price' | t }}
{{ line_item.original_price | money }}
{%- endif -%} {%- if line_item.unit_price_measurement -%}
{{ 'products.product.price.unit_price' | t }}
{%- capture unit_price_separator -%} {{ 'accessibility.unit_price_separator' | t }}  {%- endcapture -%} {%- capture unit_price_base_unit -%} {%- if line_item.unit_price_measurement.reference_value != 1 -%} {{- line_item.unit_price_measurement.reference_value -}} {%- endif -%} {{ line_item.unit_price_measurement.reference_unit }} {%- endcapture -%} {{ line_item.unit_price | money }} {{- unit_price_separator -}} {{- unit_price_base_unit -}}
{%- endif -%}
{%- else -%} {{ line_item.final_price | money }} {%- endif -%}
{{ line_item.quantity }} {%- if line_item.original_line_price != line_item.final_line_price -%}
{{ 'products.product.price.regular_price' | t }}
{{ line_item.original_line_price | money }}
{{ 'products.product.price.sale_price' | t }}
{{ line_item.final_line_price | money }}
{%- else -%} {{ line_item.original_line_price | money }} {%- endif -%}
{{ 'customer.order.subtotal' | t }} {{ order.line_items_subtotal_price | money }}
{{ 'customer.order.discount' | t }} {{- discount_application.title -}}
-{{ discount_application.total_allocated_amount | money }} {{- discount_application.title -}}
{{ '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_duties' | t }} {{ order.total_duties | money }}
{{ 'customer.order.total_refunded' | t }} -{{ order.total_refunded_amount | money_with_currency }}
{{ 'customer.order.total' | t }} {{ order.total_net_amount | money_with_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 }}
{% schema %} { "name": "t:sections.main-order.name", "settings": [ { "type": "header", "content": "t:sections.all.padding.section_padding_heading" }, { "type": "range", "id": "padding_top", "min": 0, "max": 100, "step": 4, "unit": "px", "label": "t:sections.all.padding.padding_top", "default": 36 }, { "type": "range", "id": "padding_bottom", "min": 0, "max": 100, "step": 4, "unit": "px", "label": "t:sections.all.padding.padding_bottom", "default": 36 } ] } {% endschema %}