{% capture email_title %}Exchange receipt from {{ shop.name }}{% endcapture %}
{{ email_title }}
| |
{%- if shop.email_logo_url %}
{%- else %}
{%- endif %}
|
| |
| |
|
{{ email_title }}
{% if exchange_type == "balance_owed_to_customer" %}
Total amount refunded: {{ exchange_balance | money }}
{% endif %}
|
| |
| |
|
Original order #{{ parent_order.order_number }} summary on {{ parent_order_processed_at }}
|
| |
{% for line in parent_order.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 }} x {{ line_display }}
{% if line.product.description %}
{{ line.product.description | strip_html | truncatewords: 20 }}
{% else %}
{{ line.price }}
{% endif %}
|
{% if line.original_line_price != line.line_price %}
{{ line.original_line_price | money }}
{% endif %}
{{ line.line_price | money }}
|
|
|
{% endfor %}
{% if line.discount_allocations %}
{% for discount_allocation in line.discount_allocations %}
{% if discount_allocation.discount_application.target_selection != 'all' %}
|
{{ discount_allocation.discount_application.title | upcase }}
|
(-{{ discount_allocation.amount | money }})
|
{% endif %}
{% endfor %}
{% endif %}
{% assign subtotal_price = parent_order.subtotal_price %}
{% assign shipping_price = parent_order.shipping_price %}
{% assign tax_price = parent_order.tax_price %}
{% assign total_price = parent_order.total_price %}
{% assign transactions = parent_transactions %}
|
Sub Total
|
{{ subtotal_price | money }}
|
|
Shipping
|
{{ shipping_price | money }}
|
|
Taxes
|
{{ tax_price | money }}
|
{% if total_tip and total_tip > 0 %}
|
Tip
|
{{ total_tip | money }}
|
{% endif %}
|
Total
|
{{ total_price | money }}
|
{% for transaction in transactions %}
{% 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_display_name }}{% endcapture %}
{% endif %}
|
{{ transaction_name }}
|
{{ transaction.amount | money }}
|
{% endfor %}
|
| |
|
Exchange order #{{ child_order.order_number }} summary on {{ child_order_processed_at }}
|
| |
{% for line in child_order.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 }} x {{ line_display }}
{% if line.product.description %}
{{ line.product.description | strip_html | truncatewords: 20 }}
{% else %}
{{ line.price }}
{% endif %}
|
{% if line.original_line_price != line.line_price %}
{{ line.original_line_price | money }}
{% endif %}
{{ line.line_price | money }}
|
|
|
{% endfor %}
{% if line.discount_allocations %}
{% for discount_allocation in line.discount_allocations %}
{% if discount_allocation.discount_application.target_selection != 'all' %}
|
{{ discount_allocation.discount_application.title | upcase }}
|
(-{{ discount_allocation.amount | money }})
|
{% endif %}
{% endfor %}
{% endif %}
{% assign subtotal_price = child_order.subtotal_price %}
{% assign shipping_price = child_order.shipping_price %}
{% assign tax_price = child_order.tax_price %}
{% assign total_price = child_order.total_price %}
{% assign transactions = child_transactions %}
|
Sub Total
|
{{ subtotal_price | money }}
|
|
Shipping
|
{{ shipping_price | money }}
|
|
Taxes
|
{{ tax_price | money }}
|
{% if total_tip and total_tip > 0 %}
|
Tip
|
{{ total_tip | money }}
|
{% endif %}
|
Total
|
{{ total_price | money }}
|
|
Refund from Order #{{ parent_order.order_number }}
|
- {{ refund_amount | money }}
|
{% if exchange_type == "balance_owed_to_customer" %}
|
Refund amount after exchange
|
- {{ exchange_balance | money }}
|
{% else %}
|
Total amount paid
|
{{ exchange_balance | money }}
|
{% endif %}
{% for transaction in transactions %}
{% 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_display_name }}{% endcapture %}
{% endif %}
|
{{ transaction_name }}
|
{{ transaction.amount | money }}
|
{% endfor %}
|
|
{%- if shop.email_logo_url %}
{%- else %}
{%- endif %}
|
If you have any questions, reply to this email or contact us at {{ shop.email }}
|
| |
|
|