Hello everyone,
I’m trying to set up my shipping confirmation to change the language to reflect the type of shipping choice they may. First I’m trying to get the mail to work with just USPS Priority mail but would like to add our other shipping options to change with the shipping options. I’ve tried looking at other messages out there but I cant get any of the solutions to work for me. I know I’m doing something wrong But I just can’t figure it out. ![]()
Below in blue is what I’m having trouble with.
Thanks in advance for your help.
Lance.
{% 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.
All shipping times are estimated and can change without notice by the shipping carrier. No shipping services are being guaranteed by the carriers at this time.
{% if shipping_method.title == ’ USPS Priority Int’l ’ %}
USPS International shipping: We did recommend using UPS over USPS. We have been seeing a 6-10+ week delay in USPS shipping times over normal due to shipping and custom delays. Once your package arrives you will be contacted by your local postal service to pay for the duties and taxes before the package will be delivered. Please allow time for your package to arrive.
{% endif %}{% 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 %}
{% endif %}
{% else %}
{% if fulfillment_status == ‘fulfilled’ %}
{% capture email_title %}The last item in your order is on the way{% endcapture %}
{% capture email_body %}The last item in your order is on the way. Track your shipment to see the delivery status.{% endcapture %}
{% else %}
{% capture email_title %}One item in your order is on the way{% endcapture %}
{% capture email_body %}One item in your order is on the way. Track your shipment to see the delivery status.{% endcapture %}
{% endif %}
{% endif %}
{% capture email_emphasis %}Estimated delivery date: {{fulfillment.estimated_delivery_at | date: “%B %-d, %Y”}}{% endcapture %}
{{ email_title }} .button__cell { background: {{ shop.email_accent_color }}; } a, a:hover, a:active, a:visited { color: {{ shop.email_accent_color }}; }
|