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

#   Different mail messages per order status possible?

##

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

Less More

- Posts: 105
- Thank you received: 8
-

1 year 2 weeks ago -  1 year 2 weeks ago [\#369038](#369038) by [Rusty](/forum/user/83085-rusty "View Rusty's Profile")  *[Different mail messages per order status possible?](/forum/2-general-talk-about-hikashop/909812-different-mail-messages-per-order-status-possible#369038 "-- HikaShop version -- : 6.1 -- Joomla version -- : 5 -- PHP version -- : 8.4  Hi!  I can configure multiple order status options like &quot;open&quot;, &quot;new&quot;, &quot;billed&quot;, &quot;canceled&quot;, &quot;shipped&quot; and so on. Would it be possible to make individual mail templates for every single status? Currently I have only one mail template for all status mails. Yes, I can manually change the mail text, but this is very uncomfortable and prone to errors.  Another thing: If I change the order status, a popup opens up and here I can put some internal notes, activate &quot;mail to customer&quot; and send a mail. Is it possible to add a simple text field right after the &quot;notes&quot; text area? This field value should be stored internally in a variable. If I THEN click on &quot;mail to customer&quot;, the value of the text field is automatically inserted into the mail message template -&gt; on the placeholder of the variable.  Why do I want to do this? We send our products with a logistics partner, who sends us a tracking code. It would be good to insert this code into the mail with the status &quot;shipped&quot;. Currently this is only possible if I make a manual change of the mail message - every time! That said, I have to change the message text every time I send a status mail &quot;shipped&quot; - on every order. This is very uncomfortable.  So I habe two ideas to deal with: a) Each order status has its own mail template (like mentioned above) b) Additional text field (for the tracking code, stored in a variable, for using in mail message).  Maybe you can suggest another solution, or I did oversee something. I'm happy to hear from you. :-)  P.S. The popup that opens if I change an order status could be tweaked. I think the text area for notes is too big (maybe only half sized in height?). Two customers already oversaw the button below &quot;mail to customer&quot;. :-)")* was created by *[Rusty](/forum/user/83085-rusty "View Rusty's Profile")*

-- HikaShop version -- : 6.1
-- Joomla version -- : 5
-- PHP version -- : 8.4

Hi!

I can configure multiple order status options like "open", "new", "billed", "canceled", "shipped" and so on. Would it be possible to make individual mail templates for every single status? Currently I have only one mail template for all status mails. Yes, I can manually change the mail text, but this is very uncomfortable and prone to errors.

Another thing: If I change the order status, a popup opens up and here I can put some internal notes, activate "mail to customer" and send a mail. Is it possible to add a simple text field right after the "notes" text area? This field value should be stored internally in a variable. If I THEN click on "mail to customer", the value of the text field is automatically inserted into the mail message template -&gt; on the placeholder of the variable.

Why do I want to do this?
We send our products with a logistics partner, who sends us a tracking code. It would be good to insert this code into the mail with the status "shipped". Currently this is only possible if I make a manual change of the mail message - every time! That said, I have to change the message text every time I send a status mail "shipped" - on every order. This is very uncomfortable.

So I habe two ideas to deal with:
a) Each order status has its own mail template (like mentioned above)
b) Additional text field (for the tracking code, stored in a variable, for using in mail message).

Maybe you can suggest another solution, or I did oversee something. I'm happy to hear from you. ![:-)](/media/kunena/emoticons/3.png ":-)")

P.S. The popup that opens if I change an order status could be tweaked. I think the text area for notes is too big (maybe only half sized in height?). Two customers already oversaw the button below "mail to customer". ![:-)](/media/kunena/emoticons/3.png ":-)")

Last edit: 1 year 2 weeks ago by [Rusty](/forum/user/83085-rusty "View Rusty's Profile").

The following user(s) said Thank You: [The Wheaten Terrier](/forum/user/67902-the-wheaten-terrier "View The Wheaten Terrier's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwOTgxMi1kaWZmZXJlbnQtbWFpbC1tZXNzYWdlcy1wZXItb3JkZXItc3RhdHVzLXBvc3NpYmxlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14284
-
-

1 year 2 weeks ago [\#369043](#369043) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Different mail messages per order status possible?](/forum/2-general-talk-about-hikashop/909812-different-mail-messages-per-order-status-possible#369043 "-- HikaShop version -- : 6.1 -- Joomla version -- : 5 -- PHP version -- : 8.4  Hi!  I can configure multiple order status options like &quot;open&quot;, &quot;new&quot;, &quot;billed&quot;, &quot;canceled&quot;, &quot;shipped&quot; and so on. Would it be possible to make individual mail templates for every single status? Currently I have only one mail template for all status mails. Yes, I can manually change the mail text, but this is very uncomfortable and prone to errors.  Another thing: If I change the order status, a popup opens up and here I can put some internal notes, activate &quot;mail to customer&quot; and send a mail. Is it possible to add a simple text field right after the &quot;notes&quot; text area? This field value should be stored internally in a variable. If I THEN click on &quot;mail to customer&quot;, the value of the text field is automatically inserted into the mail message template -&gt; on the placeholder of the variable.  Why do I want to do this? We send our products with a logistics partner, who sends us a tracking code. It would be good to insert this code into the mail with the status &quot;shipped&quot;. Currently this is only possible if I make a manual change of the mail message - every time! That said, I have to change the message text every time I send a status mail &quot;shipped&quot; - on every order. This is very uncomfortable.  So I habe two ideas to deal with: a) Each order status has its own mail template (like mentioned above) b) Additional text field (for the tracking code, stored in a variable, for using in mail message).  Maybe you can suggest another solution, or I did oversee something. I'm happy to hear from you. :-)  P.S. The popup that opens if I change an order status could be tweaked. I think the text area for notes is too big (maybe only half sized in height?). Two customers already oversaw the button below &quot;mail to customer&quot;. :-)")*

Hi,

1. You can edit and customize the emails of HikaShop via the System&gt;Emails menu. There, it's the "order status notification" email which is used to send emails when the order is changed. If you edit it, you'll see a "per status override" button at the top of each section of the email : HTML, text and preload. When you click on it, it will open a popup where you'll be able to select the status to customize the email specifically for that order status.

2. I would indeed recommend to create a custom field of the table "order" via the menu Display&gt;Custom fields in order to store the tracking code along with the order. The custom field settings page already has settings to display or not the field in the emails and other places of HikaShop so that will avoid having to code anything.

3. Thanks for your feedback on the note field for the popup. We'll reduce its height in the next version of HikaShop.

The following user(s) said Thank You: [The Wheaten Terrier](/forum/user/67902-the-wheaten-terrier "View The Wheaten Terrier's Profile"), [Rusty](/forum/user/83085-rusty "View Rusty's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwOTgxMi1kaWZmZXJlbnQtbWFpbC1tZXNzYWdlcy1wZXItb3JkZXItc3RhdHVzLXBvc3NpYmxlP3RtcGw9bWFya2Rvd24=) 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.052 seconds

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