- Posts: 50
- Thank you received: 3
Need to add the order date/time to order creation e-mail
- TerryHikashop
-
Topic Author
- Offline
Less
More
7 years 2 months ago #308450
by TerryHikashop
-- 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
<?php echo hikashop_getDate($data->cart->order_created); ?>
to both html and txt and previewed but do not see the date.
-- 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
<?php echo hikashop_getDate($data->cart->order_created); ?>
to both html and txt and previewed but do not see the date.
Please Log in or Create an account to join the conversation.
7 years 2 months ago #308461
by nicolas
Replied by nicolas on topic Need to add the order date/time to order creation e-mail
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 ?
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 or Create an account to join the conversation.
- TerryHikashop
-
Topic Author
- Offline
Less
More
- Posts: 50
- Thank you received: 3
7 years 2 months ago #308471
by TerryHikashop
Replied by TerryHikashop on topic Need to add the order date/time to order creation e-mail
Yes I did try the preview. See attached screenshots
Please Log in or Create an account to join the conversation.
7 years 2 months ago #308476
by nicolas
Replied by nicolas on topic Need to add the order date/time to order creation e-mail
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 ?
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 or Create an account to join the conversation.
- TerryHikashop
-
Topic Author
- Offline
Less
More
- Posts: 50
- Thank you received: 3
7 years 2 months ago #308501
by TerryHikashop
Replied by TerryHikashop on topic Need to add the order date/time to order creation e-mail
Nicolas,
My fault, I thought the preview button worked without having to save it. The code is working fine now. Thanks.
My fault, I thought the preview button worked without having to save it. The code is working fine now. Thanks.
Please Log in or Create an account to join the conversation.
Time to create page: 0.244 seconds