- Posts: 18
- Thank you received: 0
Add the Order Number to the email subject line
- impagination
-
Topic Author
- Offline
Less
More
13 years 3 months ago #107537
by impagination
Add the Order Number to the email subject line was created by impagination
Hi,
My customer would like to add the order number to the subject line of the admin email notification.
ORDER_ADMIN_NOTIFICATION_SUBJECT is currently in the email subject, I tried adding ORDER_NUMBER but this didn't work.
How can I achive both notices or simply change the first message to something like "Order XXXXXXX has been created on your website" (XXXXXX for the order number).
Thanks
My customer would like to add the order number to the subject line of the admin email notification.
ORDER_ADMIN_NOTIFICATION_SUBJECT is currently in the email subject, I tried adding ORDER_NUMBER but this didn't work.
How can I achive both notices or simply change the first message to something like "Order XXXXXXX has been created on your website" (XXXXXX for the order number).
Thanks
Please Log in or Create an account to join the conversation.
13 years 3 months ago #107558
by Eliot
Replied by Eliot on topic Add the Order Number to the email subject line
Hi there,
You have to delete the email subject then, go in order.php of administrator/components/com_hikashop/classes and fing this line:
You then just have to find the translation in the language file and adapt it to your needs. "%s" will be replaced by the arguments of the sprintf().
You have to delete the email subject then, go in order.php of administrator/components/com_hikashop/classes and fing this line:
Code:
$order->mail->subject = JText::sprintf('NEW_ORDER_SUBJECT',$order->order_number,HIKASHOP_LIVE);
You then just have to find the translation in the language file and adapt it to your needs. "%s" will be replaced by the arguments of the sprintf().
The following user(s) said Thank You: impagination
Please Log in or Create an account to join the conversation.
Time to create page: 0.148 seconds