Order confirmation emails
To make the selected date/time options and comments show up in the order confirmation emails sent to clients, please go to Settings > Notifications > Order confirmation and add the following code snippet to the desired place within a template:
{% if attributes.Delivery-Date %}
{% assign deliveryMethod = "Store pickup" %}
{% if attributes.Delivery-Method contains "localDelivery" %}
{% assign deliveryMethod = "Local delivery" %}
{% endif %}
{{ deliveryMethod }} information
{{ deliveryMethod }} date: {{ attributes.Delivery-Date }}
{% if attributes.Delivery-Time %}
{{ deliveryMethod }} time: {{ attributes.Delivery-Time }}
{% endif; %}
{% if attributes.Delivery-Comment %}
Comments: {{ attributes.Delivery-Comment }}
{% endif %}
{% endif %}

