{{ '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.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 -%}{{ '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 -%}
{%- 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 -%}
|
{{ line_item.quantity }} |
{%- if line_item.original_line_price != line_item.final_line_price -%}
|
{{ '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 -}}
|
{%- endfor -%}
|||
{{ '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.payment_status' | t }}: {{ order.financial_status_label }}
{{ order.billing_address | format_address }}{{ 'customer.order.fulfillment_status' | t }}: {{ order.fulfillment_status_label }}
{{ order.shipping_address | format_address }}