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:
{% 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 %}
@2008-2024 Mageworx
Our products
Mageworx Upsell & Cross‑sell
Inciter: Shipping & Promo Bars
Company