{% capture email_title %}Thank you for your purchase! {% endcapture %} {% capture email_body %} {% if requires_shipping %} Hi {{ customer.first_name }}, we're getting your order ready to be shipped. We will notify you when it has been sent. {% endif %} {% endcapture %} {{ email_title }}
 
{%- if shop.email_logo_url %} {{shop.name}} {%- else %}

{{ shop.name }}

{%- endif %}
ORDER {{ order_name }}
 
 
{{ email_title }}
{{ email_body }}
{% if order_status_url %}
 
View your order
{% endif %}
 
 
Order summary
 
{% for line in line_items %} {% if line.product.title %} {% assign line_title = line.product.title %} {% else %} {% assign line_title = line.title %} {% endif %} {% if line.image %} {% endif %} {% if line.quantity < line.quantity %} {% capture line_display %} {{ line.quantity }} of {{ line.quantity }} {% endcapture %} {% else %} {% assign line_display = line.quantity %} {% endif %}
{{ line_title }}
{{ line_title }} x {{ line_display }}
{% if line.product.description %}
{{ line.product.description }}
{% else %}
{{ line.price }}
{% endif %}
{% if line.original_line_price != line.line_price %}
{{ line.original_line_price | money }}
{% endif %}
{{ line.line_price | money }}
 
{% endfor %}
{% if discounts %} {% capture discount_title %}Discount {% if discounts.first.code %}({{ discounts.first.code }}){% endif %}{% endcapture %}
{{ discount_title }}
{{ discounts_savings | money }}
 
{% endif %}
Sub Total
{{ subtotal_price | money }}
 
Shipping
{{ shipping_price | money }}
 
{% for line in tax_lines %}
{{ line.title }}
{{ line.price | money }}
 
{% endfor %}
 
Total
{{ total_price | money_with_currency }}
{% assign transaction_size = 0 %} {% for transaction in transactions %} {% unless transaction.kind == "capture" or transaction.kind == "void" %} {% assign transaction_size = transaction_size | plus: 1 %} {% endunless %} {% endfor %} {% if transaction_size > 1 %} {% for transaction in transactions %} {% if transaction.status == "success" and transaction.kind == "authorization" or transaction.kind == "sale" %} {% if transaction.payment_details.credit_card_company %} {% capture transaction_name %}{{ transaction.payment_details.credit_card_company }} (ending in {{ transaction.payment_details.credit_card_last_four_digits }}){% endcapture %} {% else %} {% capture transaction_name %}{{ transaction.gateway | replace: "_", " " | capitalize }}{% endcapture %} {% endif %} {% endif %} {% if transaction.kind == 'refund' %} {% if transaction.payment_details.credit_card_company %} {% assign refund_method_title = transaction.payment_details.credit_card_company %} {% else %} {% assign refund_method_title = transaction.gateway %} {% endif %} {% endif %} {% endfor %}
{{ transaction_name }}
{{ transaction.amount | money }}
Refund
{{ refund_method_title | capitalize }}
- {{ transaction.amount | money }}
{% endif %}
 
 
Customer information
{% if requires_shipping and shipping_address %} {% endif %} {% if billing_address %} {% endif %}
Shipping address
{{ shipping_address | format_address }}
Billing address
{{ billing_address | format_address }}
 
{% if requires_shipping and shipping_address %} {% endif %} {% assign transaction_count = transactions | size %} {% if transaction_count > 0 %} {% endif %}
Shipping method
{{ shipping_method.title }}
{{ shipping_method.price | money }}
Payment method
{%- for transaction in transactions -%} {%- if transaction.status == "success" or transaction.status == "pending" -%} {%- if transaction.kind == "authorization" or transaction.kind == "sale" -%}
{%- if transaction.payment_details.credit_card_company -%} {%- capture credit_card_url -%}notifications/{{ transaction.payment_details.credit_card_company | downcase | replace: " ", "_" }}.png{%- endcapture -%}
Ending in {{ transaction.payment_details.credit_card_last_four_digits }} — {{ total_price | money }}
{%- else -%} {{ transaction.gateway | replace: "_", " " | capitalize }} — {{ transaction.amount | money }} {%- endif -%}
{% endif %} {% endif %} {% endfor %}
 
 
{%- if shop.email_logo_url %} {{ shop.name }} {%- else %}

{{ shop.name }}

{%- endif %}
 
If you have any questions, reply to this email or contact us at {{ shop.email }}