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. Click To Customize : Go to Settings → ETA for checkout pages → Enable “ETA on cart, checkout & thank you pages” → Click “Customize.”




  1. Customize ETA Display Settings :  Go to Label Name → Enter “Delivery Estimation” → Select display format (Full message / Only date) → Preview changes → Click “Apply"


Note: Please make sure to copy the exact label name you entered (e.g., “Delivery Estimation”). You will need to use the same label name in the code to display the ETA correctly.





  1. Order Confirmation Section :- Go 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)


Note: Paste the label name that you have copied from the popup (for example, “Delivery Estimation”) into the code to ensure the ETA is displayed correctly.


Add the following code after the product title line:
{% for p in line.properties %}

{% assign property = p.first | rstrip %}
{% if property == 'Order Estimation' and p.last != blank %}
<span class="order-list__item-variant"><small>ETA: {{ p.last }}</small></span>
<br/>
{% endif %}
{%- if property == 'Delivery Estimation' -%}{{ p.first }} : {{ p.last }}{% endif %}
{% endfor %}






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



Found this helpful? ✅ Leave a Review


If you need help setting up translations or want assistance tailoring them for your store, feel free to contact our support team at support@setubridgeapps.com or on WhatsApp: +91 8511963839.

We’re happy to help 😊

Updated on: 10/04/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!