Guest Ant_89 Posted September 29, 2011 Share Posted September 29, 2011 Hi, Does anyone know if it possible to disable the option for customers to cancel their order from their account? If a customer wanted to cancel I would prefer them to call up. Thanks Ant Quote Link to comment Share on other sites More sharing options...
sparky5693 Posted March 28, 2012 Share Posted March 28, 2012 Ever figure out a solution to this? Today I shipped an order that had been cancelled. Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 28, 2012 Share Posted March 28, 2012 I have not found a way for a simple one-step solution to disallowing a customer from cancelling their order. But if you want to try this (CC507): 1. In the file /classes/cubecart.class.php, near line 1949, find: $order['cancel'] = (in_array($order['status'], array(1, 2))) ? true : false; Make it like this: $order['cancel'] = false; // (in_array($order['status'], array(1, 2))) ? true : false; This will cause the link that cancels the order from being displayed. (See #3) 2. In the same file, near line 1915, find: if (isset($_GET['cancel'])) { Make it like this: if (false) { // (isset($_GET['cancel'])) { This will cause a direct attempt at submitting a properly formatted URL from being processed. (I think cancelling an order from the admin backend will not be hindered.) (3.) You may wish to consider adding some sort of notice to the file /skins/name/templates/content.orders.php in a conspicuous location that mentions your request that you prefer to be contacted if an order needs to be cancelled by the customer. Quote Link to comment Share on other sites More sharing options...
sparky5693 Posted March 30, 2012 Share Posted March 30, 2012 Thank you. I'll try playing with it shortly. 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.