Skip to main content

New Order emails sent to staff

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>
    <tbody>
<tr>
      <td>
        <strong>{{ deliveryMethod }} information</strong>
        <p>
          {{ deliveryMethod }} date: {{ attributes.Delivery-Date }}
          
{% if attributes.Delivery-Time %} {{ deliveryMethod }} time: {{ attributes.Delivery-Time }} {% endif; %}
{% if attributes.Delivery-Comment %} Comments: {{ attributes.Delivery-Comment }} {% endif %}
</p> </td> </tr> </tbody> </table> {% endif %}
Did this answer your question?