> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://setubridge.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 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.”**

![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/image_ip9qhe.png)


2. **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.

 ![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/image_5m7lli.png)



3. **Order Confirmation Section** :-  Go to  **Shopify Admin → Settings → Notifications → Order confirmation → Edit code**, then use **Ctrl + F** to search for the required text.

![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/screenshot7orderconf2_gpt5by.png)

![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/screenshot7editcode_w4bth7.png)



![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/screenshot7add-code_1hbfbp5.png)



2. **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 %}
```



![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/screenshot7etaadd1_1sg2848.png)


### 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 %}
```

![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/screenshot7etaadd2-1_1qneg9x.png)


### 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 %}
```

![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/screenshot7etaadd3_8ccj2l.png)

### 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 %}
```

![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/screenshot7etaadd4_1do7rns.png)

3. **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](https://apps.shopify.com/estimated-delivery-days#modal-show=ReviewListingModal) 

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:&#32;+91 8511963839**. 
We’re happy to help 😊