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

#   Specific text when an order is cancelled

##

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

Less More

- Posts: 26
- Thank you received: 0
-
-

11 years 1 month ago [\#217279](#217279) by [edizioniromena](/forum/user/35067-edizioniromena "View edizioniromena's Profile")  *[Specific text when an order is cancelled](/forum/35-orders-management/879851-specific-text-when-an-order-is-cancelled#217279 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.3  Hi,  We would like to insert a specific text message in the email that's sent to the customer, in the case the order is being cancelled. I think that the email template is the &quot;ORDER&#95;STATUS&#95;NOTIFICATION&#95;SUBJECT&quot;. Can i insert some specific text that must only appear in the case the &quot;order status notification&quot; is about a cancelled order?  Thank you")* was created by *[edizioniromena](/forum/user/35067-edizioniromena "View edizioniromena's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.3.3

Hi,

We would like to insert a specific text message in the email that's sent to the customer, in the case the order is being cancelled.
I think that the email template is the "ORDER_STATUS_NOTIFICATION_SUBJECT".
Can i insert some specific text that must only appear in the case the "order status notification" is about a cancelled order?

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3OTg1MS1zcGVjaWZpYy10ZXh0LXdoZW4tYW4tb3JkZXItaXMtY2FuY2VsbGVkP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14325
-
-

11 years 1 month ago [\#217317](#217317) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Specific text when an order is cancelled](/forum/35-orders-management/879851-specific-text-when-an-order-is-cancelled#217317 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.3  Hi,  We would like to insert a specific text message in the email that's sent to the customer, in the case the order is being cancelled. I think that the email template is the &quot;ORDER&#95;STATUS&#95;NOTIFICATION&#95;SUBJECT&quot;. Can i insert some specific text that must only appear in the case the &quot;order status notification&quot; is about a cancelled order?  Thank you")*

Hi,

You can add such code: Code:

&lt;?php if($data-&gt;order_status=='cancelled'){ ?&gt; My text &lt;?php } ?&gt;

in the HTML version of that email via the menu System&gt;Emails

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

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

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

Less More

- Posts: 26
- Thank you received: 0
-
-

11 years 1 month ago [\#217371](#217371) by [edizioniromena](/forum/user/35067-edizioniromena "View edizioniromena's Profile")  Replied by *[edizioniromena](/forum/user/35067-edizioniromena "View edizioniromena's Profile")* on topic *[Specific text when an order is cancelled](/forum/35-orders-management/879851-specific-text-when-an-order-is-cancelled#217371 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.3  Hi,  We would like to insert a specific text message in the email that's sent to the customer, in the case the order is being cancelled. I think that the email template is the &quot;ORDER&#95;STATUS&#95;NOTIFICATION&#95;SUBJECT&quot;. Can i insert some specific text that must only appear in the case the &quot;order status notification&quot; is about a cancelled order?  Thank you")*

Thank you for your answer, i will try it as soon as possible!
If i'd like to exclude some particular content if the order is cancelled, can i use this code? Code:

&lt;?php if($data-&gt;order_status!=='cancelled'){ ?&gt; Excluded text &lt;?php } ?&gt;

Thank you again

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

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

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 1 month ago [\#217377](#217377) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Specific text when an order is cancelled](/forum/35-orders-management/879851-specific-text-when-an-order-is-cancelled#217377 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.3  Hi,  We would like to insert a specific text message in the email that's sent to the customer, in the case the order is being cancelled. I think that the email template is the &quot;ORDER&#95;STATUS&#95;NOTIFICATION&#95;SUBJECT&quot;. Can i insert some specific text that must only appear in the case the &quot;order status notification&quot; is about a cancelled order?  Thank you")*

Hi,

Yes indeed, but "!=" is enough.

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

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

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

Less More

- Posts: 26
- Thank you received: 0
-
-

11 years 1 month ago [\#217489](#217489) by [edizioniromena](/forum/user/35067-edizioniromena "View edizioniromena's Profile")  Replied by *[edizioniromena](/forum/user/35067-edizioniromena "View edizioniromena's Profile")* on topic *[Specific text when an order is cancelled](/forum/35-orders-management/879851-specific-text-when-an-order-is-cancelled#217489 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.3  Hi,  We would like to insert a specific text message in the email that's sent to the customer, in the case the order is being cancelled. I think that the email template is the &quot;ORDER&#95;STATUS&#95;NOTIFICATION&#95;SUBJECT&quot;. Can i insert some specific text that must only appear in the case the &quot;order status notification&quot; is about a cancelled order?  Thank you")*

Ah, ok! ![:)](/media/kunena/emoticons/3.png ":)")
Thank you again, i've tested and it works!

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

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