[Skip to main content](#vessel-content)

#   Need to add the order date/time to order creation e-mail

##

- **[TerryHikashop](/forum/user/31464-terryhikashop "View TerryHikashop's Profile")**
- [![TerryHikashop's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31464-terryhikashop "View TerryHikashop's Profile") Topic Author
- [ Offline](/forum/user/31464-terryhikashop)

Less More

- Posts: 50
- Thank you received: 3
-
-

7 years 4 months ago [\#308450](#308450) by [TerryHikashop](/forum/user/31464-terryhikashop "View TerryHikashop's Profile")  *[Need to add the order date/time to order creation e-mail](/forum/35-orders-management/897835-need-to-add-the-order-date-time-to-order-creation-e-mail#308450 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.0 -- PHP version -- : 7.0.33 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : None  My customer would like to see the date and time of the order within the body of the e-mail.  I tried adding cart-&gt;order&#95;created); ?&gt; to both html and txt and previewed but do not see the date.")* was created by *[TerryHikashop](/forum/user/31464-terryhikashop "View TerryHikashop's Profile")*

-- HikaShop version -- : 4.1.0
-- Joomla version -- : 3.9.0
-- PHP version -- : 7.0.33
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : None

My customer would like to see the date and time of the order within the body of the e-mail.

I tried adding
&lt;?php echo hikashop_getDate($data-&gt;cart-&gt;order_created); ?&gt;
to both html and txt and previewed but do not see the date.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzgzNS1uZWVkLXRvLWFkZC10aGUtb3JkZXItZGF0ZS10aW1lLXRvLW9yZGVyLWNyZWF0aW9uLWUtbWFpbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

7 years 4 months ago [\#308461](#308461) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Need to add the order date/time to order creation e-mail](/forum/35-orders-management/897835-need-to-add-the-order-date-time-to-order-creation-e-mail#308461 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.0 -- PHP version -- : 7.0.33 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : None  My customer would like to see the date and time of the order within the body of the e-mail.  I tried adding cart-&gt;order&#95;created); ?&gt; to both html and txt and previewed but do not see the date.")*

Hi,

This should indeed display the date of the order in the email. Did you try to check the result with the "preview" button of the email edition interface ?
Could you provide some screenshots of the pages with your modifications and of the result ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzgzNS1uZWVkLXRvLWFkZC10aGUtb3JkZXItZGF0ZS10aW1lLXRvLW9yZGVyLWNyZWF0aW9uLWUtbWFpbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[TerryHikashop](/forum/user/31464-terryhikashop "View TerryHikashop's Profile")**
- [![TerryHikashop's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31464-terryhikashop "View TerryHikashop's Profile") Topic Author
- [ Offline](/forum/user/31464-terryhikashop)

Less More

- Posts: 50
- Thank you received: 3
-
-

7 years 4 months ago [\#308471](#308471) by [TerryHikashop](/forum/user/31464-terryhikashop "View TerryHikashop's Profile")  Replied by *[TerryHikashop](/forum/user/31464-terryhikashop "View TerryHikashop's Profile")* on topic *[Need to add the order date/time to order creation e-mail](/forum/35-orders-management/897835-need-to-add-the-order-date-time-to-order-creation-e-mail#308471 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.0 -- PHP version -- : 7.0.33 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : None  My customer would like to see the date and time of the order within the body of the e-mail.  I tried adding cart-&gt;order&#95;created); ?&gt; to both html and txt and previewed but do not see the date.")*

Yes I did try the preview. See attached screenshots

- [ ![Needtoaddtheorderdate-1.jpg](/forum/attachment/47219) ](/forum/attachment/47219 "...rderdate-1.jpg") [ ](/forum/attachment/47219?download=1 "...rderdate-1.jpg")
- [ ![Needtoaddtheorderdate-2.jpg](/forum/attachment/47220) ](/forum/attachment/47220 "...rderdate-2.jpg") [ ](/forum/attachment/47220?download=1 "...rderdate-2.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzgzNS1uZWVkLXRvLWFkZC10aGUtb3JkZXItZGF0ZS10aW1lLXRvLW9yZGVyLWNyZWF0aW9uLWUtbWFpbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

7 years 4 months ago [\#308476](#308476) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Need to add the order date/time to order creation e-mail](/forum/35-orders-management/897835-need-to-add-the-order-date-time-to-order-creation-e-mail#308476 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.0 -- PHP version -- : 7.0.33 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : None  My customer would like to see the date and time of the order within the body of the e-mail.  I tried adding cart-&gt;order&#95;created); ?&gt; to both html and txt and previewed but do not see the date.")*

Hi,

I'm not able to reproduce the problem. Can you confirm that you click on the "save" button of the email before clicking on the "preview" button ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzgzNS1uZWVkLXRvLWFkZC10aGUtb3JkZXItZGF0ZS10aW1lLXRvLW9yZGVyLWNyZWF0aW9uLWUtbWFpbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[TerryHikashop](/forum/user/31464-terryhikashop "View TerryHikashop's Profile")**
- [![TerryHikashop's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31464-terryhikashop "View TerryHikashop's Profile") Topic Author
- [ Offline](/forum/user/31464-terryhikashop)

Less More

- Posts: 50
- Thank you received: 3
-
-

7 years 4 months ago [\#308501](#308501) by [TerryHikashop](/forum/user/31464-terryhikashop "View TerryHikashop's Profile")  Replied by *[TerryHikashop](/forum/user/31464-terryhikashop "View TerryHikashop's Profile")* on topic *[Need to add the order date/time to order creation e-mail](/forum/35-orders-management/897835-need-to-add-the-order-date-time-to-order-creation-e-mail#308501 "-- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.0 -- PHP version -- : 7.0.33 -- Browser(s) name and version -- : Chrome -- Error-message(debug-mod must be tuned on) -- : None  My customer would like to see the date and time of the order within the body of the e-mail.  I tried adding cart-&gt;order&#95;created); ?&gt; to both html and txt and previewed but do not see the date.")*

Nicolas,

My fault, I thought the preview button worked without having to save it. The code is working fine now. Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5NzgzNS1uZWVkLXRvLWFkZC10aGUtb3JkZXItZGF0ZS10aW1lLXRvLW9yZGVyLWNyZWF0aW9uLWUtbWFpbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.065 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
