Skip to main content

Add delivery estimates to Order confirmation email

Update your order confirmation email template to include delivery estimates

Written by Trevor Reid

Not compatible with the new Cart ETA. Adding delivery estimates to the order confirmation email only works with the deprecated line items app embed (Cart ETA (deprecated) in the theme editor). The new Cart ETA doesn't save the estimate to your orders' line item info, so these steps won't work with it. If you need delivery estimates in your order confirmation email, keep using the deprecated app embed. See Customizing the Cart Delivery Estimate for details.

Order confirmation email estimates are an advanced feature only available on the Scale plan.

This requires a manual update to your Order confirmation email template. Please double check and test any changes made.

You can edit the order confirmation email by going to Settings > Notifications > Customer notifications > Order confirmation.

To show delivery estimates for each line item in the order, update the code under where the variant properties / title is displayed.

If you're using the default template this should be at around line 864 (At time of writing).

Add this snippet:

  {% for property in line.properties %}
{% assign property_name = property.first | rstrip %}
{% if property_name == 'Arrives by' %}
<span class="order-list__item-variant"> {{ property.first}} : {{ property.last }} </span>
{% endif %}
{% endfor %}

If you've changed the text from the default "Arrives by" then you will need to change "Arrives by" in this line to exactly match the new text.

 {% if property_name == 'Arrives by' %}

If you're selling product bundles you may need to add the snippet to multiple locations in the template.

Reach out to our support team via Live Chat if you have any questions.

Did this answer your question?