[Skip to main content](#vessel-content)

#   Add the Order Number to the email subject line

##

- **[impagination](/forum/user/13362-impagination "View impagination's Profile")**
- [![impagination's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13362-impagination "View impagination's Profile") Topic Author
- [ Offline](/forum/user/13362-impagination)

Less More

- Posts: 18
- Thank you received: 0
-
-

13 years 5 months ago [\#107537](#107537) by [impagination](/forum/user/13362-impagination "View impagination's Profile")  *[Add the Order Number to the email subject line](/forum/2-general-talk-about-hikashop/83300-add-the-order-number-to-the-email-subject-line#107537 "Hi,  My customer would like to add the order number to the subject line of the admin email notification.  ORDER&#95;ADMIN&#95;NOTIFICATION&#95;SUBJECT is currently in the email subject, I tried adding ORDER&#95;NUMBER but this didn't work.  How can I achive both notices or simply change the first message to something like &quot;Order XXXXXXX has been created on your website&quot; (XXXXXX for the order number).  Thanks")* was created by *[impagination](/forum/user/13362-impagination "View impagination's Profile")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgzMzAwLWFkZC10aGUtb3JkZXItbnVtYmVyLXRvLXRoZS1lbWFpbC1zdWJqZWN0LWxpbmU/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 4 months ago [\#107558](#107558) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Add the Order Number to the email subject line](/forum/2-general-talk-about-hikashop/83300-add-the-order-number-to-the-email-subject-line#107558 "Hi,  My customer would like to add the order number to the subject line of the admin email notification.  ORDER&#95;ADMIN&#95;NOTIFICATION&#95;SUBJECT is currently in the email subject, I tried adding ORDER&#95;NUMBER but this didn't work.  How can I achive both notices or simply change the first message to something like &quot;Order XXXXXXX has been created on your website&quot; (XXXXXX for the order number).  Thanks")*

Hi there,

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

$order-&gt;mail-&gt;subject = JText::sprintf('NEW_ORDER_SUBJECT',$order-&gt;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](/forum/user/13362-impagination "View impagination's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgzMzAwLWFkZC10aGUtb3JkZXItbnVtYmVyLXRvLXRoZS1lbWFpbC1zdWJqZWN0LWxpbmU/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.070 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
