{% if fulfillment.item_count == item_count %} {% capture shipment_name %}Your order is{% endcapture %}
{% elsif fulfillment.item_count > 1 %} {% if fulfillment_status == 'fulfilled' %}
{% capture shipment_name %}The last items in your order are{% endcapture %}
{% else %}
{% capture shipment_name %}Some items in your order are{% endcapture %}
{% endif %}
{% else %} {% if fulfillment_status == 'fulfilled' %}
{% capture shipment_name %}The last item in your order is{% endcapture %}
{% else %}
{% capture shipment_name %}One item in your order is{% endcapture %}
{% endif %}
{% endif %}
{% capture email_title %}{{ shipment_name }} out for delivery{% endcapture %}
{% capture email_body %}{{ shipment_name }} out for delivery. Track your shipment to see the delivery status.{% endcapture %}
{% capture email_emphasis %}Estimated delivery date: {{fulfillment.estimated_delivery_at | date: "%B %d, %Y"}}{% endcapture %}
{{ email_title }}
|
{%- if shop.email_logo_url %}
{%- else %}
{%- endif %}
|
ORDER {{ order_name }}
|
|
|
{{ email_title }}
{{ email_body }}
{% if fulfillment.estimated_delivery_at %}
{{ email_emphasis }}
{% endif %}
{% if order_status_url %}
{% else %}
{% if shop.url %}
{% endif %}
{% endif %}
|
|
{% assign rows_count = 0 %}
{% for line in fulfillment.fulfillment_line_items %}
{% unless rows_count == 0 %}
|
{% endunless %}
{% capture temp %}{{ num | plus: 1 }}{% endcapture %}
{% assign rows_count = temp %}
{% if line.line_item.image %}
|
{% endif %}
{% if line.quantity < line.line_item.quantity %}
{% capture line_display %} {{ line.quantity }} of {{ line.line_item.quantity }} {% endcapture %}
{% else %}
{% assign line_display = line.line_item.quantity %}
{% endif %}
{{ line.line_item.title }} x {{ line_display }}
{% if line.line_item.variant.title != 'Default Title' %}
{{ line.line_item.variant.title }}
{% endif %}
|
{% endfor %}
{%- if shop.email_logo_url %}
{%- else %}
{%- endif %}
|
If you have any questions, reply to this email or contact us at {{ shop.email }}
|
|
|
|