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

#   email sent when cancelled

##

- **[zipadyduda](/forum/user/30673-zipadyduda "View zipadyduda's Profile")**
- [![zipadyduda's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30673.gif)](/forum/user/30673-zipadyduda "View zipadyduda's Profile") Topic Author
- [ Offline](/forum/user/30673-zipadyduda)

Less More

- Posts: 140
- Thank you received: 0
-
-

10 years 5 months ago [\#242058](#242058) by [zipadyduda](/forum/user/30673-zipadyduda "View zipadyduda's Profile")  *[email sent when cancelled](/forum/35-orders-management/884918-email-sent-when-cancelled#242058 "-- url of the page with the problem -- : ce4rt.com -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.5.35 -- Browser(s) name and version -- : na -- Error-message(debug-mod must be tuned on) -- : No error  Sorry if this has been asked before, I searched but couldn't find an answer.  If my customer cancels an order, they receive an email that says. &quot;The status of your order has been changed to cancelled&quot;  This causes confusion if they cancel an order then immediately create and complete an order after that.  This seems to be a function of the &quot;Order status notification&quot; plugin. I see an &quot;order cancel&quot; email plugin also, but not one for order complete.  Ideally, they would be sent an order cancelled or order created email if they cancelled or created an order but only if they did not also make a purchase within a half hour or so.  If that's not possible, I would like to send an email only if they complete an order.  Thanks.")* was created by *[zipadyduda](/forum/user/30673-zipadyduda "View zipadyduda's Profile")*

-- url of the page with the problem -- : ce4rt.com
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.5.35
-- Browser(s) name and version -- : na
-- Error-message(debug-mod must be tuned on) -- : No error

Sorry if this has been asked before, I searched but couldn't find an answer.

If my customer cancels an order, they receive an email that says.
"The status of your order has been changed to cancelled"

This causes confusion if they cancel an order then immediately create and complete an order after that.

This seems to be a function of the "Order status notification" plugin. I see an "order cancel" email plugin also, but not one for order complete.

Ideally, they would be sent an order cancelled or order created email if they cancelled or created an order but only if they did not also make a purchase within a half hour or so.

If that's not possible, I would like to send an email only if they complete an order.

Thanks.

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

10 years 5 months ago [\#242081](#242081) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[email sent when cancelled](/forum/35-orders-management/884918-email-sent-when-cancelled#242081 "-- url of the page with the problem -- : ce4rt.com -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.5.35 -- Browser(s) name and version -- : na -- Error-message(debug-mod must be tuned on) -- : No error  Sorry if this has been asked before, I searched but couldn't find an answer.  If my customer cancels an order, they receive an email that says. &quot;The status of your order has been changed to cancelled&quot;  This causes confusion if they cancel an order then immediately create and complete an order after that.  This seems to be a function of the &quot;Order status notification&quot; plugin. I see an &quot;order cancel&quot; email plugin also, but not one for order complete.  Ideally, they would be sent an order cancelled or order created email if they cancelled or created an order but only if they did not also make a purchase within a half hour or so.  If that's not possible, I would like to send an email only if they complete an order.  Thanks.")*

Hi,

> If my customer cancels an order...

How does your customer cancels an order ?
If you're talking about the "cancel" button of the orders listing, then yes there is an email sent.
If you don't want that, you would have to edit the file components/com_hikashop/controllers/order.php add add such line:
$newOrder-&gt;history-&gt;history_notified = 0;
before the line:
$orderClass-&gt;save($newOrder);
You can't add complex conditions like "only if they did not also make a purchase within a half hour or so." unless you add some more complex custom coding.

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

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