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

#   Order Status Overrides

##

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

Less More

- Posts: 447
- Thank you received: 20
-
-

6 years 10 months ago -  6 years 10 months ago [\#314565](#314565) by [davec](/forum/user/7092-davec "View davec's Profile")  *[Order Status Overrides](/forum/35-orders-management/898971-order-status-overrides#314565 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2.26  Hi  I am trying to add additional text to order status email on a per status basis. I added some text to a Status Holding and save it. However when I check an email the added text is not shown. I then checked back on the status I updated to find that the text had been removed from the email. The email code I created is below.  The text I wanted to add in this particular instance is Your order is now Holding, this is because there is either more stock to follow or you have requested this order to be held.  Can you confirm this is how custom text is added to order status email please?  Thanks  Dave")* was created by *[davec](/forum/user/7092-davec "View davec's Profile")*

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.14
-- PHP version -- : 7.2.26

Hi

I am trying to add additional text to order status email on a per status basis. I added some text to a Status Holding and save it. However when I check an email the added text is not shown. I then checked back on the status I updated to find that the text had been removed from the email. The email code I created is below.

The text I wanted to add in this particular instance is &lt;p&gt;Your order is now Holding, this is because there is either more stock to follow or you have requested this order to be held.&lt;/p&gt;
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 4.2.2 * @author hikashop.com * @copyright (C) 2010-2019 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;table class="w600" border="0" cellspacing="0" cellpadding="0" width="600" style="margin:0px;font-family: Arial, Helvetica, sans-serif;font-size:12px;line-height:18px;"&gt; &lt;tr&gt;&lt;td class="w20" width="20"&gt;&lt;/td&gt; &lt;td align="center"&gt;&lt;img src="{VAR:LIVE_SITE}/media/com_hikashop/images/email-logo.png"&gt;&lt;/td&gt; &lt;td class="w20" width="20"&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="w20" width="20"&gt;&lt;/td&gt; &lt;td class="w560 pict" style="text-align:left; color:#575757" width="560"&gt; &lt;div id="title" style="font-family: Arial, Helvetica, sans-serif;font-size:12px;line-height:18px;"&gt; &lt;img src="{VAR:LIVE_SITE}/media/com_hikashop/images/icons/icon-48-order.png" border="0" alt="" style="float:left;margin-right:4px;"/&gt; &lt;h1 style="color:#ffffff !important;font-size:16px;font-weight:bold; border-bottom:1px solid #ddd; padding-bottom:10px"&gt; {TXT:ORDER_TITLE} &lt;/h1&gt; &lt;h2 style="color:#ffffff !important;font-size:12px;font-weight:bold; padding-bottom:10px"&gt; {TXT:ORDER_CHANGED} &lt;/h2&gt; &lt;/div&gt; &lt;/td&gt; &lt;td class="w20" width="20"&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td class="w20" width="20"&gt;&lt;/td&gt; &lt;td style="border:1px solid #adadad;background-color:#ffffff;"&gt; &lt;div class="w550" width="550" id="content" style="font-family: Arial, Helvetica, sans-serif;font-size:12px;line-height:18px;margin-left:5px;margin-right:5px;"&gt; &lt;p&gt; &lt;h3 style="color:#393939 !important; font-size:14px; font-weight:normal; font-weight:bold;margin-bottom:0px;padding:0px;"&gt;{TXT:HI_CUSTOMER}&lt;/h3&gt; [&lt;p&gt;Your order is now Holding, this is because there is either more stock to follow or you have requested this order to be held.&lt;/p&gt; {TXT:ORDER_BEGIN_MESSAGE} &lt;/p&gt; &lt;table class="w550" border="0" cellspacing="0" cellpadding="0" width="550" style="margin-top:10px;font-family: Arial, Helvetica, sans-serif;font-size:12px;line-height:18px;"&gt; &lt;tr&gt; &lt;!--{IF:BILLING_ADDRESS}--&gt;&lt;td style="color:#db031a !important;font-size:12px;font-weight:bold;"&gt;{TXT:BILLING_ADDRESS}&lt;/td&gt;&lt;!--{ENDIF:BILLING_ADDRESS}--&gt; &lt;!--{IF:SHIPPING}--&gt;&lt;!--{IF:SHIPPING_ADDRESS}--&gt;&lt;td style="color:#db031a !important;font-size:12px;font-weight:bold;"&gt;{TXT:SHIPPING_ADDRESS}&lt;/td&gt;&lt;!--{ENDIF:SHIPPING_ADDRESS}--&gt;&lt;!--{ENDIF:SHIPPING}--&gt; &lt;/tr&gt; &lt;tr&gt; &lt;!--{IF:BILLING_ADDRESS}--&gt;&lt;td&gt;{VAR:BILLING_ADDRESS}&lt;/td&gt;&lt;!--{ENDIF:BILLING_ADDRESS}--&gt; &lt;!--{IF:SHIPPING}--&gt;&lt;!--{IF:SHIPPING_ADDRESS}--&gt;&lt;td&gt;{VAR:SHIPPING_ADDRESS}&lt;/td&gt;&lt;!--{ENDIF:SHIPPING_ADDRESS}--&gt;&lt;!--{ENDIF:SHIPPING}--&gt; &lt;/tr&gt; &lt;/table&gt; &lt;h1 style="color:#db031a !important;font-size:16px;font-weight:bold;border-bottom:1px solid #ddd;padding-top:10px;padding-bottom:10px;"&gt; {TXT:SUMMARY_OF_YOUR_ORDER} &lt;/h1&gt; &lt;!--{START:VENDOR_LINE}--&gt; &lt;!--{IF:VENDOR_CONTENT}--&gt;{VAR:VENDOR_CONTENT}&lt;!--{ENDIF:VENDOR_CONTENT}--&gt; &lt;table class="w550" border="0" cellspacing="0" cellpadding="0" width="550" style="margin-top:10px;margin-bottom:10px;font-family: Arial, Helvetica, sans-serif;font-size:12px;line-height:18px;"&gt; &lt;tr&gt; &lt;td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:left;color:#db031a !important;font-size:12px;font-weight:bold;"&gt;{TXT:PRODUCT_NAME}&lt;/td&gt; {TXT:CUSTOMFIELD_NAME} &lt;td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right;color:#db031a !important;font-size:12px;font-weight:bold;"&gt;{TXT:PRODUCT_PRICE}&lt;/td&gt; &lt;td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right;color:#db031a !important;font-size:12px;font-weight:bold;"&gt;{TXT:PRODUCT_QUANTITY}&lt;/td&gt; &lt;td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right;color:#db031a !important;font-size:12px;font-weight:bold;"&gt;{TXT:PRODUCT_TOTAL}&lt;/td&gt; &lt;/tr&gt; &lt;!--{START:PRODUCT_LINE}--&gt; &lt;tr&gt; &lt;td style="border-bottom:1px solid #ddd;padding-bottom:3px;"&gt; {LINEVAR:PRODUCT_IMG} {LINEVAR:PRODUCT_NAME}&lt;!--{IF:ORDER_PRODUCT_CODE}--&gt; {LINEVAR:PRODUCT_CODE}&lt;!--{ENDIF:ORDER_PRODUCT_CODE}--&gt; {LINEVAR:PRODUCT_DOWNLOAD} {LINEVAR:PRODUCT_DETAILS} &lt;/td&gt; {LINEVAR:CUSTOMFIELD_VALUE} &lt;td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right"&gt;{LINEVAR:PRODUCT_PRICE}&lt;/td&gt; &lt;td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right"&gt;{LINEVAR:PRODUCT_QUANTITY}&lt;/td&gt; &lt;td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right"&gt;{LINEVAR:PRODUCT_TOTAL}&lt;/td&gt; &lt;/tr&gt; &lt;!--{END:PRODUCT_LINE}--&gt; &lt;!--{START:ORDER_FOOTER}--&gt; &lt;tr&gt; &lt;td colspan="{TXT:FOOTER_COLSPAN}" style="text-align:right;color:#db031a !important;font-size:12px;font-weight:bold;"&gt;{LINEVAR:NAME}&lt;/td&gt; &lt;td style="text-align:right"&gt;{LINEVAR:VALUE}&lt;/td&gt; &lt;/tr&gt; &lt;!--{END:ORDER_FOOTER}--&gt; &lt;/table&gt; &lt;!--{END:VENDOR_LINE}--&gt; &lt;!--{IF:PAYMENT}--&gt; &lt;p&gt; &lt;span style="color:#db031a !important;font-size:12px;font-weight:bold;"&gt;{TXT:PAYMENT_METHOD} :&lt;/span&gt; {VAR:PAYMENT} &lt;/p&gt; &lt;!--{ENDIF:PAYMENT}--&gt; &lt;!--{IF:SHIPPING}--&gt; &lt;p&gt; &lt;span style="color:#db031a !important;font-size:12px;font-weight:bold;"&gt;{TXT:HIKASHOP_SHIPPING_METHOD} :&lt;/span&gt; {VAR:SHIPPING} &lt;/p&gt; &lt;!--{ENDIF:SHIPPING}--&gt; &lt;!--{IF:ORDER_SUMMARY}--&gt; &lt;h1 style="color:#db031a !important;font-size:16px;font-weight:bold;border-bottom:1px solid #ddd;padding-top:10px;padding-bottom:10px;"&gt; {TXT:ADDITIONAL_INFORMATION} &lt;/h1&gt; &lt;p style="border-bottom:1px solid #ddd;padding-bottom:10px;"&gt; {VAR:ORDER_SUMMARY} &lt;/p&gt; &lt;!--{ENDIF:ORDER_SUMMARY}--&gt; &lt;p&gt; {TXT:ORDER_END_MESSAGE} &lt;/p&gt; &lt;/div&gt; &lt;/td&gt; &lt;td class="w20" width="20"&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;

Can you confirm this is how custom text is added to order status email please?

Thanks

Dave

Last edit: 6 years 10 months ago by [davec](/forum/user/7092-davec "View davec's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5ODk3MS1vcmRlci1zdGF0dXMtb3ZlcnJpZGVzP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

6 years 10 months ago [\#314567](#314567) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Order Status Overrides](/forum/35-orders-management/898971-order-status-overrides#314567 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2.26  Hi  I am trying to add additional text to order status email on a per status basis. I added some text to a Status Holding and save it. However when I check an email the added text is not shown. I then checked back on the status I updated to find that the text had been removed from the email. The email code I created is below.  The text I wanted to add in this particular instance is Your order is now Holding, this is because there is either more stock to follow or you have requested this order to be held.  Can you confirm this is how custom text is added to order status email please?  Thanks  Dave")*

Hi,

Yes, that's how it should work.
Check the folder media/com_hikashop/mail/ via FTP.
There, you should find the file order_status_notification.XXX.html.php (where XXX is the namekey of the status (and not the name!) ) where the code from the "per order status" popup is supposed to be saved.
If you don't have the file, then there was a problem with the saving. You could create it manually by copy/pasting the original file.

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

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

Less More

- Posts: 447
- Thank you received: 20
-
-

6 years 10 months ago [\#314582](#314582) by [davec](/forum/user/7092-davec "View davec's Profile")  Replied by *[davec](/forum/user/7092-davec "View davec's Profile")* on topic *[Order Status Overrides](/forum/35-orders-management/898971-order-status-overrides#314582 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2.26  Hi  I am trying to add additional text to order status email on a per status basis. I added some text to a Status Holding and save it. However when I check an email the added text is not shown. I then checked back on the status I updated to find that the text had been removed from the email. The email code I created is below.  The text I wanted to add in this particular instance is Your order is now Holding, this is because there is either more stock to follow or you have requested this order to be held.  Can you confirm this is how custom text is added to order status email please?  Thanks  Dave")*

Hi Nicolas

I will check this and get back to you with what I find.

Thanks

Dave ![B)](/media/kunena/emoticons/9.png "B)")

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

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

Less More

- Posts: 447
- Thank you received: 20
-
-

6 years 10 months ago [\#314892](#314892) by [davec](/forum/user/7092-davec "View davec's Profile")  Replied by *[davec](/forum/user/7092-davec "View davec's Profile")* on topic *[Order Status Overrides](/forum/35-orders-management/898971-order-status-overrides#314892 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2.26  Hi  I am trying to add additional text to order status email on a per status basis. I added some text to a Status Holding and save it. However when I check an email the added text is not shown. I then checked back on the status I updated to find that the text had been removed from the email. The email code I created is below.  The text I wanted to add in this particular instance is Your order is now Holding, this is because there is either more stock to follow or you have requested this order to be held.  Can you confirm this is how custom text is added to order status email please?  Thanks  Dave")*

Hi Nicolas

that all seems to work correctly.

When the order status is updated and the notify customer is ticked and then saved the order number is either blue on my PC or not visible as was the case for my client who uses a MAC and Safari browser (second screenshot).

I need to make the link white, where or how can that be achieved please?

Thanks

Dave

- [ ![1stScreenshot&#95;2020-01-21.png](/forum/attachment/48578) ](/forum/attachment/48578 "...2020-01-21.png") [ ](/forum/attachment/48578?download=1 "...2020-01-21.png")
- [ ![Screenshot2020-01-16at09.52.50&#95;2020-01-21.png](/forum/attachment/48579) ](/forum/attachment/48579 "...2020-01-21.png") [ ](/forum/attachment/48579?download=1 "...2020-01-21.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5ODk3MS1vcmRlci1zdGF0dXMtb3ZlcnJpZGVzP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

6 years 10 months ago [\#314895](#314895) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Order Status Overrides](/forum/35-orders-management/898971-order-status-overrides#314895 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2.26  Hi  I am trying to add additional text to order status email on a per status basis. I added some text to a Status Holding and save it. However when I check an email the added text is not shown. I then checked back on the status I updated to find that the text had been removed from the email. The email code I created is below.  The text I wanted to add in this particular instance is Your order is now Holding, this is because there is either more stock to follow or you have requested this order to be held.  Can you confirm this is how custom text is added to order status email please?  Thanks  Dave")*

Hi,

You want to edit the email via the menu System&gt;Emails.
There, in the preload area, you'll find that line of code: Code:

$url = '&lt;a href="'.$order_url.'"&gt;'. $url.'&lt;/a&gt;';

So you can directly add a "style" attribute to that a tag with the color CSS command you want.

The following user(s) said Thank You: [davec](/forum/user/7092-davec "View davec's Profile")

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

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