- Posts: 38
- Thank you received: 2
Complete order number in admin notification
12 years 11 months ago #131732
by fg80hun
Complete order number in admin notification was created by fg80hun
Hi all,
Previously we created an email customization for sending order details in email for the packaging department. Sendind this in email is mandatory, they do not have access to the webshop admin backend. This still works with the html customization we made. In the latest updated hikashop version, quite nice new email templates are introduced which is a good idea. Our problem is, if we revert back to the updated email template (remove customization) only the last counter part of the order number is sent to the admin. We created a custom order number format as "RE"-"some random string"-"the counter", but only the last "counter part" is sent out. How to include the complete order string in the admin notif. email? The order number customization made in the hikashop backend via the interface.
Thanks in advance.
-- HikaShop version -- : 2.2.2 business latest updated
-- Joomla version -- : Joomla! 2.5.9 Stable [ Ember ] Joomla Platform 11.4.0
-- PHP version -- : 5.2.17 db: 5.5.30-1
-- Browser(s) name and version -- : Mozilla latest
-- Error-message(debug-mod must be tuned on) -- : -
Previously we created an email customization for sending order details in email for the packaging department. Sendind this in email is mandatory, they do not have access to the webshop admin backend. This still works with the html customization we made. In the latest updated hikashop version, quite nice new email templates are introduced which is a good idea. Our problem is, if we revert back to the updated email template (remove customization) only the last counter part of the order number is sent to the admin. We created a custom order number format as "RE"-"some random string"-"the counter", but only the last "counter part" is sent out. How to include the complete order string in the admin notif. email? The order number customization made in the hikashop backend via the interface.
Thanks in advance.
-- HikaShop version -- : 2.2.2 business latest updated
-- Joomla version -- : Joomla! 2.5.9 Stable [ Ember ] Joomla Platform 11.4.0
-- PHP version -- : 5.2.17 db: 5.5.30-1
-- Browser(s) name and version -- : Mozilla latest
-- Error-message(debug-mod must be tuned on) -- : -
The following user(s) said Thank You: mariussport
Please Log in or Create an account to join the conversation.
12 years 11 months ago - 12 years 11 months ago #131769
by nicolas
Replied by nicolas on topic Complete order number in admin notification
Hi,
That's a bug of the 2.2.2.
You need to edit the order admin notification preload file ( media/com_hikashop/mail/order_admin_notification.preload.php ) and change the line:
'ORDER_NUMBER' => $data->order_id,
to:
'ORDER_NUMBER' => $data->order_number,
and it will work.
That's a bug of the 2.2.2.
You need to edit the order admin notification preload file ( media/com_hikashop/mail/order_admin_notification.preload.php ) and change the line:
'ORDER_NUMBER' => $data->order_id,
to:
'ORDER_NUMBER' => $data->order_number,
and it will work.
Last edit: 12 years 11 months ago by nicolas.
The following user(s) said Thank You: mariussport
Please Log in or Create an account to join the conversation.
Time to create page: 0.137 seconds