This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if fulfillment.item_count == item_count %} | |
{% capture email_title %}Your order is on the way{% endcapture %} | |
{% capture email_body %}Your order is on the way. Track your shipment to see the delivery status.{% endcapture %} | |
{% elsif fulfillment.item_count > 1 %} | |
{% if fulfillment_status == 'fulfilled' %} | |
{% capture email_title %}The last items in your order are on the way{% endcapture %} | |
{% capture email_body %}The last items in your order are on the way. Track your shipment to see the delivery status.{% endcapture %} | |
{% else %} | |
{% capture email_title %}Some items in your order are on the way{% endcapture %} | |
{% capture email_body %}Some items in your order are on the way. Track your shipment to see the delivery status.{% endcapture %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% capture email_title %}Complete your purchase{% endcapture %} | |
{% capture email_body %} | |
{% if item_count > 1 %} | |
These items will be reserved for you until: <strong>{{ reserve_inventory_until | date: "%A, %B %-d, %Y at %-l:%M %P %Z" }}</strong> | |
{% else %} | |
This item will be reserved for you until: <strong>{{ reserve_inventory_until | date: "%A, %B %-d, %Y at %-l:%M %P %Z" }}</strong> | |
{% endif %} | |
{% endcapture %} | |
<!DOCTYPE html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if refund_line_items.size == item_count %} | |
{% capture email_title %}Your order has been refunded{% endcapture %} | |
{% elsif refund_line_items.size == 0 %} | |
{% capture email_title %}You have received a refund{% endcapture %} | |
{% else %} | |
{% capture email_title %}Some items in your order have been refunded{% endcapture %} | |
{% endif %} | |
{% capture email_body %}Total amount refunded: <strong>{{ amount | money_with_currency }}</strong>{% endcapture %} | |
<!DOCTYPE html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% capture email_title %}Your order has been canceled{% endcapture %} | |
{% capture email_body %} | |
{% if financial_status == 'voided' %} | |
{% case cancel_reason %} | |
{% when 'customer' %} | |
Order {{ name }} was canceled at your request and your payment has been voided | |
{% when 'inventory' %} | |
Order {{ name }} was canceled because we did not have enough stock to fulfill your order and your payment has been voided | |
{% when 'fraud' %} | |
Order {{ name }} was canceled because we suspect it is fraudulent and your payment has been voided |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% 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 %} | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> |