New Order emails sent to staff

To make the selected date/time options and comments show up in the order confirmation emails sent to clients, please go to Settings > Notifications > Staff order notifications and add the following code snippet to the highlighted place within the New Order template:

image-20241120-102803.png
image-20241120-102811.png
{% if attributes.Delivery-Date %} {% assign deliveryMethod = "Store pickup" %} {% if attributes.Delivery-Method contains "localDelivery" %} {% assign deliveryMethod = "Local delivery" %} {% endif %} <table class="row"> <tr> <td class="customer-info__item customer-info__item--last"> <strong>{{ deliveryMethod }} information</strong> <p> {{ deliveryMethod }} date: {{ attributes.Delivery-Date }} <br /> {% if attributes.Delivery-Time %} {{ deliveryMethod }} time: {{ attributes.Delivery-Time }} {% endif; %} <br /> {% if attributes.Delivery-Comment %} Comments: {{ attributes.Delivery-Comment }} {% endif %} <br /> </p> </td> </tr> </table> {% endif %}