vidmarc Posted June 4, 2015 Share Posted June 4, 2015 I've just had a customer cancel an order. Luckily I checked the store and saw that it had been cancelled, but I didn't receive any sort of notification this had happened. Is there a way to get an email alert when an order is cancelled so I can refund the money quicker? Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 5, 2015 Share Posted June 5, 2015 We can make a small edit that will send an email to the admin(s) when an order goes to Failed and when an order goes to Cancelled. In /classes/order.class.php:Near line 483 (in CC604), find: if ($this->_email_enabled && isset($content)) { $mailer->sendEmail($this->_order_summary['email'], $content); } Change to: if ($this->_email_enabled && isset($content)) { $mailer->sendEmail($this->_order_summary['email'].','.$this->_notifyAdmins(), $content); } The sendEmail() function accepts a comma delimited list of email addresses.You might also want to read these conversations:Customer able to cancel order?Remove ability for customer to cancel order Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted June 6, 2015 Share Posted June 6, 2015 I have created a github issue for this as feel it is important that the admin is notified of orders that are cancelled https://github.com/cubecart/v6/issues/592 Ian Quote Link to comment Share on other sites More sharing options...
vidmarc Posted June 6, 2015 Author Share Posted June 6, 2015 Thanks Ian. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.