Skip to main content

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

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.

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #308461 by nicolas
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 or Create an account to join the conversation.

More
7 years 2 months ago #308471 by TerryHikashop
Yes I did try the preview. See attached screenshots

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #308476 by nicolas
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 or Create an account to join the conversation.

More
7 years 2 months ago #308501 by TerryHikashop
Nicolas,

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
Powered by Kunena Forum