by Firecheckout Support

How to add delivery date to Magento order emails?

In order to show delivery date and time in order emails, follow the next steps:

  • Go to Marketing > Communications > Email Templates.
  • Press Add New Template button.
  • Select New Order for Guest template, and press Load Template button.
  • Add the following code into the Template Content field:
{{block class="Swissup\DeliveryDate\Block\View" area="frontend" template="Swissup_DeliveryDate::email/order/view.phtml" order_id=$}}
  • Press the Save Template button.
  • Go to Stores > Configuration > Sales > Sales Emails > Order, select this template for New Order Confirmation Template for Guest and save the config.
  • Repeat the same steps for New Order for Registered Customer template.

Recent articles