Add the Order Number to the email subject line

  • Posts: 18
  • Thank you received: 0
11 years 6 months ago #107537

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

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

  • Posts: 2334
  • Thank you received: 403
11 years 6 months ago #107558

Hi there,

You have to delete the email subject then, go in order.php of administrator/components/com_hikashop/classes and fing this line:

$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.065 seconds
Powered by Kunena Forum