Articles on: D: Local delivery date picker

Confirm the selected schedule in the order confirmation email


Confirm the selected schedule in the order confirmation email


Show the chosen delivery/pickup date and time in Shopify's order confirmation email by adding a small snippet to the template.


Available on all plans.




Overview


Shopify's order confirmation email doesn't show the DingDoong schedule by default. Pasting a short Liquid snippet into the template surfaces the selected date, time, and method as "Additional details".


If you've already heavily customized your order confirmation email, the snippet may not slot in cleanly — contact us for help.




Before you start


  • You can edit Shopify notification templates (Settings → Notifications).




How to set it up


Here's how, step by step:



Step 1: Copy the snippet


Copy the DingDoong "Additional details" Liquid snippet (provided in-app / by support). It loops the order attributes and prints the schedule, hiding internal fields.


<table>
<tr>
<td class="customer-info__item">
<h4>Additional details</h4>
<p>
{% assign method = '' %}
{% for attribute in attributes %}
{% if attribute.first == 'ot_channel' %}
{% assign method = attribute.last %}
{% break %}
{% endif %}
{% endfor %}
{% capture translations %}
{% if method contains 'pickup' %}
Pickup date::date123
Pickup time::time123
Location::Location123
Address::Location123
Collector's name::Name123
Recipient's name::Name123
Recipient's phone::Phone123
Updated date::Updated date123
Updated time::Updated time123
Updated location::Updated location123
Updated address::Updated address123
{% elsif method contains 'local' %}
Local delivery date::Date123
Local delivery time::Time123
Address::Address123
Location::Location123
Recipient's name::Name123
Recipient's phone::Phone123
Updated date::Updated date123
Updated time::Updated time123
{% else %}
Shipping date::Date123
Shipping time::Time123
Address::Address123
Location::Location123
Recipient's name::Name 123
Recipient's phone::Phone123
Updated date::Updated date123
Updated time::Updated time123
{% endif %}
{% endcapture %}
{% assign translationList = translations | strip | split: '
' %}
{% for attribute in attributes %}
{% assign attributeName = attribute | first %}
{% assign attributeValue = attribute | last %}
{% unless attributeName == 'delivery_date_origin'
or attributeName == 'ot_channel'
or attributeName == 'ot_location_id'
or attributeName == 'ot_surcharge'
or attributeName == 'ot_rate_widget_active'
or attributeName == '__checkout_time'
or attributeName == '__date'
or attributeName == '__channel'
or attributeName == '__setting'
or attributeValue == '_'
or attributeValue == ''
%}
{% assign label = attributeName %}
{% assign nameNorm = attributeName | replace: '&#39;', "'" | replace: '&#x27;', "'" | replace: '&amp;', '&' %}
{% for t in translationList %}
{% assign pair = t | strip | split: '::' %}
{% assign keyNorm = pair[0] | replace: '&#39;', "'" | replace: '&#x27;', "'" | replace: '&amp;', '&' %}
{% if nameNorm == keyNorm %}
{% assign label = pair[1] %}
{% break %}
{% endif %}
{% endfor %}
{{ label }}: {{ attributeValue }}<br>
{% endunless %}
{% endfor %}
</p>
</td>
</tr>
</table>




Step 2: Open the Order confirmation template


Go to Shopify Settings → Notifications → Customer notifications → Order confirmation → Edit code.



Step 3: Find "Shipping method"


Use Ctrl/Cmd + F to find Shipping method in the template.



Step 4: Paste under the </tr>


Paste the snippet right after that </tr>, save, and send yourself a test order email to confirm.




How it looks


The confirmation email shows an "Additional details" block with the selected date, time, and method.




Common scenarios


Standard Shopify email


Paste the snippet as above — works out of the box.


Customized email template


If your template is heavily modified, contact us so we can place the snippet correctly.




Tips & Best practices


Always send a test order after pasting — confirmation emails are hard to "preview" accurately without a real order.


Keep the {% comment %}Start/End Omega{% endcomment %} markers so you (or support) can find and update the snippet later.




Troubleshooting


Date/time doesn't appear?


You may have a customized template — contact us. Also confirm the order actually carries a DingDoong schedule.




FAQ


Does this affect other emails?


No — it only edits the order confirmation template.


How do I remove it?


Delete the snippet between the Start/End Omega markers and save.








If you need further assistance, feel free to reach out to us via live chat or email at [email protected]. We're happy to help!


Updated on: 09/06/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!