# Order confirmation email

{% hint style="warning" %}
If you have customized your default order confirmation email, selected date may not work, Please contact us for help.
{% endhint %}

## Outcome

{% hint style="success" %}
Selected date and time is confirmed in Order confirmation email&#x20;
{% endhint %}

<figure><img src="/files/U4PaMrngVda3DK96zAhv" alt=""><figcaption></figcaption></figure>

## Please follow these steps:&#x20;

## Step 1.  Please copy the following lines of codes

```
{% comment %}Start Omega{% endcomment %}
  <table>
    <tr>
      <td class="customer-info__item">
        <h4>Additional details</h4>
        <p>
          {% for attribute in attributes %}
            {% assign attributeName = attribute | first %}
            {% assign attributeValue = attribute | last %}
            {% if attributeName != 'delivery_date_origin'
                and attributeName != 'ot_channel'
                and  attributeName != 'ot_location_id'
                and  attributeValue != '_' %}
              {{ attribute | first }}: {{ attribute | last }}<br>
            {% endif %}
          {% endfor %}
        </p>
      </td>
    </tr>
  </table>
{% comment %}End Omega{% endcomment %}
```

## Step 2. Go to Shopify settings > Notifications > Customers notifications&#x20;

<figure><img src="/files/HtrjIROkQ3mWjShDNTkE" alt=""><figcaption></figcaption></figure>

## Step 3. Choose Order confirmation > Edit code

<figure><img src="/files/QpILbXIGcGeTMH50W5hO" alt=""><figcaption></figcaption></figure>

## Step 4. Use Ctrl + F and type Shipping method to find

<figure><img src="/files/QSvcqrS10FSXmUK9BIlR" alt=""><figcaption></figcaption></figure>

## Step 5. Under the <mark style="color:red;">\</tr></mark>, paste the lines of code you just copied

<figure><img src="/files/j2v1wQe9gVfZuHYsb1w8" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dingdoong.io/general-settings/general-settings/email-notifications/order-confirmation-email.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
