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 %}
<table class="row">
<tr>
<td class="customer-info__item">
<h4>{{ deliveryMethod }} information</h4>
<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