Articles on: 🚚 Estimated Delivery Date & Time

Add Delivery Estimation Message to Order Confirmation Email

This document provides step-by-step instructions to help you display the Delivery Estimation (ETA) for each product in the Order Confirmation email sent to customers after placing an order.

By following this guide, the estimated delivery information configured at the product or cart level will be automatically included in the order email, ensuring better transparency and an improved post-purchase experience for customers.



Code Snippet

Use the following Liquid code to fetch and display the Delivery Estimation property from line item properties:

{% for p in line.properties %}
{% assign property = p.first | rstrip %}
{% if property == 'Delivery Estimation' %}
{{ p.first }} : {{ p.last }}
{% endif %}
{% endfor %}

Steps:


  1. Log in to Shopify Admin → Settings → Notifications → Order confirmation → Edit code, then use Ctrl + F to search for the required text.



  1. Code Placement Locations

Location 1: Main Order Items Section (Approx. Line 328)






Location 2: Second Order Items Section (Approx. Line 996)


Add the following code after the product title line:
{% for p in line.properties %}
{% assign property = p.first | rstrip %}
{% if property == 'Delivery Estimation' %}
{{ p.first }} : {{ p.last }}
{% endif %}
{% endfor %}








Location 3: Component / Bundle Items Section (Approx. Line 1977)


Add the same code after the product title line:

{% for p in line.properties %}
{% assign property = p.first | rstrip %}
{% if property == 'Delivery Estimation' %}
{{ p.first }} : {{ p.last }}
{% endif %}
{% endfor %}



Location 4: Fourth Order Items Section (Approx. Line 2295)


Add the same code after the product title line:

{% for p in line.properties %}
{% assign property = p.first | rstrip %}
{% if property == 'Delivery Estimation' %}
{{ p.first }} : {{ p.last }}
{% endif %}
{% endfor %}



  1. Final Step (Testing):

Generate a test order from your side and verify the order confirmation email to ensure the ETA (Delivery Estimation) is displayed correctly.


Important Notes

  1. The property name “Delivery Estimation” is case-sensitive
  2. Ensure the code is added to all four locations for consistent display
  3. The code must be placed after the product title line
  4. Always save and test the order confirmation email after making changes

Updated on: 13/01/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!