-- HikaShop version -- : 4.7.1
-- Joomla version -- : 4.3.2
-- PHP version -- : 7.4
Dear support,
I'm working on my first project with Hikashop Business and I'm quite happy with it.
I need your help to understand why admin emails are different from user ones:
I use the same code for both:
<p><strong>ID: </strong>{VAR:order.order_id}</p>
<p><strong>Date: </strong><?php echo hikashop_getDate($data->order_created); ?></p>
<p><strong>Total: </strong><?php echo round($data->cart->order_full_price, 2); ?> €</p>
<p><strong>Status: </strong><?php echo $data->mail_status; ?></p>
<p><strong>Email:</strong> {VAR:customer.user_email}</p>
I have "Order administrator notification" for shop owners that returns:
ID: 30
Date: 07-07-2023 15:57
Total: 1 €
Status: Created
I have "Order status notification" for users that returns:
ID: 30
Date: Notice: Undefined property: stdClass::$order_created in media/com_hikashop/mail/order_status_notification.html.modified.php on line 25
Total: 1 €
Status: Confirmed
- Why doesn't the date script for users work? If I remove the php error show, the date is blank
- Why admin status is Created instead of Confirmed?
- Why does the € format show 1 € instead of 1,00 € ?
Kindest regards
Lorenzo