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

#   How to add ID or Invoice Number in the subject of the admin emails

##

- **[dtk](/forum/user/34999-dtk "View dtk's Profile")**
- [![dtk's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34999.png)](/forum/user/34999-dtk "View dtk's Profile") Topic Author
- [ Offline](/forum/user/34999-dtk)

Less More

- Posts: 4
- Thank you received: 1
-
-

6 years 3 months ago [\#322100](#322100) by [dtk](/forum/user/34999-dtk "View dtk's Profile")  *[How to add ID or Invoice Number in the subject of the admin emails](/forum/36-reports-statistics/900428-how-to-add-id-or-invoice-number-in-the-subject-of-the-admin-emails#322100 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 7.3.19 -- Browser(s) name and version -- : Google Chrome and other  Hello!  I use HikaShop Business 4.3.0. I want to add an ID or Invoice Number to the admin email subject. It's about that: ORDER&#95;ADMIN&#95;NOTIFICATION&#95;SUBJECT=&quot;A new order has been created on your website&quot;  Now I receive an email with the subject: &quot;A new order has been created on your website&quot; I want it to be like this: &quot;A new order has been created on your website with ID XXX or Invoice Number XXX&quot;  I ask for your help. Thank you in advance! :)")* was created by *[dtk](/forum/user/34999-dtk "View dtk's Profile")*

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.20
-- PHP version -- : 7.3.19
-- Browser(s) name and version -- : Google Chrome and other

Hello!

I use HikaShop Business 4.3.0. I want to add an ID or Invoice Number to the admin email subject.
It's about that: ORDER_ADMIN_NOTIFICATION_SUBJECT="A new order has been created on your website"

Now I receive an email with the subject: "A new order has been created on your website"
I want it to be like this: "A new order has been created on your website with ID XXX or Invoice Number XXX"

I ask for your help. Thank you in advance! ![:)](/media/kunena/emoticons/8.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDA0MjgtaG93LXRvLWFkZC1pZC1vci1pbnZvaWNlLW51bWJlci1pbi10aGUtc3ViamVjdC1vZi10aGUtYWRtaW4tZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[dtk](/forum/user/34999-dtk "View dtk's Profile")**
- [![dtk's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34999.png)](/forum/user/34999-dtk "View dtk's Profile") Topic Author
- [ Offline](/forum/user/34999-dtk)

Less More

- Posts: 4
- Thank you received: 1
-
-

6 years 3 months ago [\#322107](#322107) by [dtk](/forum/user/34999-dtk "View dtk's Profile")  Replied by *[dtk](/forum/user/34999-dtk "View dtk's Profile")* on topic *[How to add ID or Invoice Number in the subject of the admin emails](/forum/36-reports-statistics/900428-how-to-add-id-or-invoice-number-in-the-subject-of-the-admin-emails#322107 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 7.3.19 -- Browser(s) name and version -- : Google Chrome and other  Hello!  I use HikaShop Business 4.3.0. I want to add an ID or Invoice Number to the admin email subject. It's about that: ORDER&#95;ADMIN&#95;NOTIFICATION&#95;SUBJECT=&quot;A new order has been created on your website&quot;  Now I receive an email with the subject: &quot;A new order has been created on your website&quot; I want it to be like this: &quot;A new order has been created on your website with ID XXX or Invoice Number XXX&quot;  I ask for your help. Thank you in advance! :)")*

After a lot of searching, I found a solution. Sorry for the topic. I tried to delete it, but I can't find an option.

This is the topic that helped me: [ www.hikashop.com/forum/orders-management...or-notification.html](https://www.hikashop.com/forum/orders-management/887540-add-order-number-to-subject-in-order-administrator-notification.html)

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDA0MjgtaG93LXRvLWFkZC1pZC1vci1pbnZvaWNlLW51bWJlci1pbi10aGUtc3ViamVjdC1vZi10aGUtYWRtaW4tZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 237
- Thank you received: 5
-
-

6 years 2 months ago [\#323425](#323425) by [ltempest](/forum/user/1784-ltempest "View ltempest's Profile")  Replied by *[ltempest](/forum/user/1784-ltempest "View ltempest's Profile")* on topic *[How to add ID or Invoice Number in the subject of the admin emails](/forum/36-reports-statistics/900428-how-to-add-id-or-invoice-number-in-the-subject-of-the-admin-emails#323425 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 7.3.19 -- Browser(s) name and version -- : Google Chrome and other  Hello!  I use HikaShop Business 4.3.0. I want to add an ID or Invoice Number to the admin email subject. It's about that: ORDER&#95;ADMIN&#95;NOTIFICATION&#95;SUBJECT=&quot;A new order has been created on your website&quot;  Now I receive an email with the subject: &quot;A new order has been created on your website&quot; I want it to be like this: &quot;A new order has been created on your website with ID XXX or Invoice Number XXX&quot;  I ask for your help. Thank you in advance! :)")*

Hello, Thanks for the link, I've got the Business version of HikaShop, and looking at the Admin notification email in the subject line I now have:

ORDER_ADMIN_NOTIFICATION_SUBJECT {VAR:order.order_id}

Will this now add the Order ID to the email subject?

I'd also like the email to actually appear as if the From address is that of the customer (makes it easier when replying!). However I tried to enter {VAR:customer.user_email} into the From Address but this then fails to deliver.

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDA0MjgtaG93LXRvLWFkZC1pZC1vci1pbnZvaWNlLW51bWJlci1pbi10aGUtc3ViamVjdC1vZi10aGUtYWRtaW4tZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 86290
- Thank you received: 14268
-
-

6 years 1 month ago [\#323431](#323431) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to add ID or Invoice Number in the subject of the admin emails](/forum/36-reports-statistics/900428-how-to-add-id-or-invoice-number-in-the-subject-of-the-admin-emails#323431 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 7.3.19 -- Browser(s) name and version -- : Google Chrome and other  Hello!  I use HikaShop Business 4.3.0. I want to add an ID or Invoice Number to the admin email subject. It's about that: ORDER&#95;ADMIN&#95;NOTIFICATION&#95;SUBJECT=&quot;A new order has been created on your website&quot;  Now I receive an email with the subject: &quot;A new order has been created on your website&quot; I want it to be like this: &quot;A new order has been created on your website with ID XXX or Invoice Number XXX&quot;  I ask for your help. Thank you in advance! :)")*

Hi,

If you have "ORDER_ADMIN_NOTIFICATION_SUBJECT {VAR:order.order_id}" in the subject, then the subject will be for example "ORDER_ADMIN_NOTIFICATION_SUBJECT 18".
That's not what you want.
You want to either use a translation override to change the subject of the email ( [ www.hikashop.com/download/languages.html#modify](https://www.hikashop.com/download/languages.html#modify) ) and add the tag in the translation override.
Or change the subject to have the text directly in the subject. So instead of "ORDER_ADMIN_NOTIFICATION_SUBJECT {VAR:order.order_id}" in the subject, you would have "New order {VAR:order.order_id} on your website" for example.

Regarding the email of the customer, it is automatically added in the "reply-to" field of the email.
So on your email client, if you click on the "reply" button of the email, you should see the email of the customer in the "to" field of your email writing form without the need to change anything in HikaShop.
Changing the from of the email would require coding modifications in a core file of HikaShop, and you have a high chance that the email won't be delivered as your hosting email server will refuse sending an email for another email provider, or the receiving email server will refuse it as the from email will be from a domain not managed by the email server of your hosting (to avoid spam).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDA0MjgtaG93LXRvLWFkZC1pZC1vci1pbnZvaWNlLW51bWJlci1pbi10aGUtc3ViamVjdC1vZi10aGUtYWRtaW4tZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 237
- Thank you received: 5
-
-

6 years 1 month ago [\#323532](#323532) by [ltempest](/forum/user/1784-ltempest "View ltempest's Profile")  Replied by *[ltempest](/forum/user/1784-ltempest "View ltempest's Profile")* on topic *[How to add ID or Invoice Number in the subject of the admin emails](/forum/36-reports-statistics/900428-how-to-add-id-or-invoice-number-in-the-subject-of-the-admin-emails#323532 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 7.3.19 -- Browser(s) name and version -- : Google Chrome and other  Hello!  I use HikaShop Business 4.3.0. I want to add an ID or Invoice Number to the admin email subject. It's about that: ORDER&#95;ADMIN&#95;NOTIFICATION&#95;SUBJECT=&quot;A new order has been created on your website&quot;  Now I receive an email with the subject: &quot;A new order has been created on your website&quot; I want it to be like this: &quot;A new order has been created on your website with ID XXX or Invoice Number XXX&quot;  I ask for your help. Thank you in advance! :)")*

Nicolas,
Thanks I followed your advice and changed the subject to this:

*A new order - {VAR:order.order\_id} has been created on your website*
However, this still does not replace the code with the order number it comes through exactly as above!

Please see the attached showing the admin backend.

Thanks

- [ ![ScreenShot2020-09-01at09.52.29.png](/forum/attachment/50451) ](/forum/attachment/50451 "...at09.52.29.png") [ ](/forum/attachment/50451?download=1 "...at09.52.29.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDA0MjgtaG93LXRvLWFkZC1pZC1vci1pbnZvaWNlLW51bWJlci1pbi10aGUtc3ViamVjdC1vZi10aGUtYWRtaW4tZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 86290
- Thank you received: 14268
-
-

6 years 1 month ago [\#323545](#323545) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to add ID or Invoice Number in the subject of the admin emails](/forum/36-reports-statistics/900428-how-to-add-id-or-invoice-number-in-the-subject-of-the-admin-emails#323545 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 7.3.19 -- Browser(s) name and version -- : Google Chrome and other  Hello!  I use HikaShop Business 4.3.0. I want to add an ID or Invoice Number to the admin email subject. It's about that: ORDER&#95;ADMIN&#95;NOTIFICATION&#95;SUBJECT=&quot;A new order has been created on your website&quot;  Now I receive an email with the subject: &quot;A new order has been created on your website&quot; I want it to be like this: &quot;A new order has been created on your website with ID XXX or Invoice Number XXX&quot;  I ask for your help. Thank you in advance! :)")*

Hi,

I checked on my end and I make a mistake, the tag should be {order.order_id} and not {VAR:order.order_id} in the subject.
Change that and it should work.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDA0MjgtaG93LXRvLWFkZC1pZC1vci1pbnZvaWNlLW51bWJlci1pbi10aGUtc3ViamVjdC1vZi10aGUtYWRtaW4tZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 237
- Thank you received: 5
-
-

6 years 1 month ago [\#323564](#323564) by [ltempest](/forum/user/1784-ltempest "View ltempest's Profile")  Replied by *[ltempest](/forum/user/1784-ltempest "View ltempest's Profile")* on topic *[How to add ID or Invoice Number in the subject of the admin emails](/forum/36-reports-statistics/900428-how-to-add-id-or-invoice-number-in-the-subject-of-the-admin-emails#323564 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 7.3.19 -- Browser(s) name and version -- : Google Chrome and other  Hello!  I use HikaShop Business 4.3.0. I want to add an ID or Invoice Number to the admin email subject. It's about that: ORDER&#95;ADMIN&#95;NOTIFICATION&#95;SUBJECT=&quot;A new order has been created on your website&quot;  Now I receive an email with the subject: &quot;A new order has been created on your website&quot; I want it to be like this: &quot;A new order has been created on your website with ID XXX or Invoice Number XXX&quot;  I ask for your help. Thank you in advance! :)")*

Nicolas,
Still no luck ![:-(](/media/kunena/emoticons/4.png ":-(")

I now have this in my email subject of the main information:

A new order - {order.order_id} has been created on your website

But now nothing gets displayed when the email is sent:

---

Forwarded Message

---

Subject: A new order - has been created on your website

Could I send you login details to check? how can I do this securely?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDA0MjgtaG93LXRvLWFkZC1pZC1vci1pbnZvaWNlLW51bWJlci1pbi10aGUtc3ViamVjdC1vZi10aGUtYWRtaW4tZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 86290
- Thank you received: 14268
-
-

6 years 1 month ago [\#323570](#323570) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to add ID or Invoice Number in the subject of the admin emails](/forum/36-reports-statistics/900428-how-to-add-id-or-invoice-number-in-the-subject-of-the-admin-emails#323570 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 7.3.19 -- Browser(s) name and version -- : Google Chrome and other  Hello!  I use HikaShop Business 4.3.0. I want to add an ID or Invoice Number to the admin email subject. It's about that: ORDER&#95;ADMIN&#95;NOTIFICATION&#95;SUBJECT=&quot;A new order has been created on your website&quot;  Now I receive an email with the subject: &quot;A new order has been created on your website&quot; I want it to be like this: &quot;A new order has been created on your website with ID XXX or Invoice Number XXX&quot;  I ask for your help. Thank you in advance! :)")*

Hi,

I think I know what's the problem. Try instead with the {order_id} tag.
As the order table is the main one it doesn't need the order prefix on the email subject.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDA0MjgtaG93LXRvLWFkZC1pZC1vci1pbnZvaWNlLW51bWJlci1pbi10aGUtc3ViamVjdC1vZi10aGUtYWRtaW4tZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 237
- Thank you received: 5
-
-

6 years 1 month ago [\#323614](#323614) by [ltempest](/forum/user/1784-ltempest "View ltempest's Profile")  Replied by *[ltempest](/forum/user/1784-ltempest "View ltempest's Profile")* on topic *[How to add ID or Invoice Number in the subject of the admin emails](/forum/36-reports-statistics/900428-how-to-add-id-or-invoice-number-in-the-subject-of-the-admin-emails#323614 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.20 -- PHP version -- : 7.3.19 -- Browser(s) name and version -- : Google Chrome and other  Hello!  I use HikaShop Business 4.3.0. I want to add an ID or Invoice Number to the admin email subject. It's about that: ORDER&#95;ADMIN&#95;NOTIFICATION&#95;SUBJECT=&quot;A new order has been created on your website&quot;  Now I receive an email with the subject: &quot;A new order has been created on your website&quot; I want it to be like this: &quot;A new order has been created on your website with ID XXX or Invoice Number XXX&quot;  I ask for your help. Thank you in advance! :)")*

Nicolas,
That worked! THANKS! ![:-)](/media/kunena/emoticons/9.png ":-)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDA0MjgtaG93LXRvLWFkZC1pZC1vci1pbnZvaWNlLW51bWJlci1pbi10aGUtc3ViamVjdC1vZi10aGUtYWRtaW4tZW1haWxzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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.259 seconds

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

[](#top)
