New Shopify Certification now available: Liquid Storefronts for Theme Developers

Add order date to confirmation email

16 0 5

Some customers require a receipt for their purchase from my store that must have the date.
I would like to add a line in under the order number with the date
And a line at the bottom with my "ABN, stating no GST was collected for this order"
Basically turning it into an invoice without an addition App or program, is it possible for someone to help me with the code, t

Replies 5 (5)
Shopify Staff
Shopify Staff
794 61 87

Hi @branchesofme ,


Thank you for posting this question. It's a great one!


In order to display the date an order was placed, you would need to add a line of code within the order confirmation notification editor. Head over to Settings > Notifications and then click on Order Confirmation > Edit Code. Depending on your layout and preferred position, paste the following line and save changes:



Order Placed on: {{ created_at | date: "%m-%d-%Y" }} 



This should work for you, but it wouldn't show in the email preview in the admin section or with a test order, as those would not be actual orders.


To add a custom text message to the template, follow the steps from this guide. 


If you don’t feel comfortable editing the template code yourself, you can always reach out to our Support team. Our team may be able to customize this for you if you use Shopify free theme and your store has enough complimentary design time left. You can reach out to our Contact Us page at this link. Then log in to your store. It will allow us to verify you as the store owner securely. Once you have successfully logged in, you should be able to reach out to a Support Advisor and discuss the customization request, as there are specific customizations supported.  


Also, if you’d like to provide your customers with an invoice that is separate from the order confirmation email, you can do so by using an app called Order Printer. I recognize you mentioned that you want to be able to do this without an app. However, I just wanted to share an easy-to-use and free app that is built by Shopify - perhaps you can test it and see if it suits your needs. 


How is everything else with your store, and are you prepared for the end-of-year sales period? The holiday period is known as the most wonderful time of year. For retailers, it’s also known as the busiest. This guide shares key dates to prepare for and tips to ensure your next holiday marketing campaign helps you capitalize on the most profitable season of the year.

Iris | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

7 0 1

Hello Iris,

Do you have the code to insert the date the customer has selected for shipping?


10 0 2

Hi, we are having this issue too. Customers pick a date for delivery but this doesn't show in their confirmation email and is causing confusion. Did you get any solution for this?

7 0 1

have a play in your order confirmation with this code


{% if attributes %}
{% if attributes["Delivery Date"] %}
<strong>{{ attributes["Delivery Method"] }} Date:</strong> {{ attributes["Delivery Date"] }}<br />

10 0 2

Thank you very much for this LLCo, I'll give it a go!