Show the delivery date and time in order confirmation emails | Otodoke Help
The delivery date and time a customer chooses are saved in the order's Additional details. They don't appear in the order confirmation email by default. To show them, add a few lines to the notification template.
This isn't a theme edit. You do it from Settings in your Shopify admin.
Steps
- In your Shopify admin, go to Settings, then Notifications.
- Under Customer notifications, open Order confirmation and click Edit code.
- Paste the following code where you want it to appear (for example, near the shipping address).
- Click Save.
- Place a real test order, rather than using Send test, and check that the email shows the values.
{% if attributes['配送希望日'] != blank %}
<p>Delivery date: {{ attributes['配送希望日'] }}</p>
{% endif %}
{% if attributes['配送時間帯'] != blank %}
<p>Delivery time: {{ attributes['配送時間帯'] }}</p>
{% endif %}
Good to know
- Orders with no date selected don't show these lines.
- Dates are saved in the form
2026-10-08. - You can paste the same code into other notifications, such as shipping confirmation.