A Shopify order confirmation email is an automated message sent to customers after they successfully place an order on a Shopify store. It typically includes essential details such as the order number, items purchased, total cost, shipping address, and etc… This email serves as a receipt and reassurance, helping customers track their purchase and providing contact information for any inquiries.
To show the selected order delivery date in the order confirmation email, please follow the below steps.
- Email template file path: Login into Admin panel.
- Click on this link “Order Confirmation Email Template”.
- Insert below code where you want to show order Additional Detail at this position in the file and save it.
- And also insert the below code into all related email templates in which you want to send Order Delivery Date details
Everything from the Additional Information
{% for attribute in attributes %}
{% assign attributecheck = attribute | last %}
{% if attributecheck != "" %}
<p style="margin:0">{{ attribute | first | replace: '-', ' ' | replace: '_', ' ' | capitalize }} : {{ attribute | last | capitalize }}</p>
{% endif %}
{% endfor %}
To pass only delivery date & time
Method-1
{% if attributes['Delivery Date'] %}
<p style="margin:0">Delivery date: {{ attributes['Delivery Date'] }}</p>
{% endif %}
{% if attributes['Delivery Time'] %}
<p style="margin:0">Delivery time: {{ attributes['Delivery Time'] }}</p>
{% endif %}
Method-2
{% for attribute in attributes %}
{% assign attributecheck = attribute | last %}
{% assign attributefirst = attribute | first %}
{% if attributecheck != "" %}
{% if attributefirst == 'Delivery Date' or attributefirst == 'Delivery Time' %}
<p style="margin:0">{{ attribute | first | replace: '-', ' ' | replace: '_', ' ' | capitalize }} : {{ attribute | last }}</p>
{% endif %}
{% endif %}
{% endfor %}
Remove date format, Location ID, and Store name
{% for attribute in attributes %}
{% assign attributecheck = attribute | last %}
{% assign attributefirst = attribute | first %}
{% if attributecheck != "" %}
{% if attributefirst != 'Date Format' and attributefirst != 'Location Id' and attributefirst != 'Store Name' %}
<p style="margin:0">{{ attribute | first | replace: '-', ' ' | replace: '_', ' ' | capitalize }} : {{ attribute | last }}</p>
{% endif %}
{% endif %}
{% endfor %}
If you wish to apply custom styling to the delivery information section, you can modify the existing code using your coding knowledge.
Need Assistance?
If you have any questions, need further guidance, or would like to discuss your customization, our support team is here to help! Feel free to reach out to us at [email protected] or send us message on WhatsApp using +91 73831 29192 number. We’re happy to assist you with any coding challenges or styling requirements.