kevin78 Posted March 21, 2013 Share Posted March 21, 2013 Hello guys I would like to deactivate the mail sending when i create a credit_slip to my customer I use the v1.4.8.2 I have tried to changed this file : admin/tabs/AdminOrders.php : I have commented this following line /* @Mail::Send((int)$order->id_lang, 'credit_slip', Mail::l('New credit slip regarding your order', (int)$order->id_lang), $params, $customer->email, $customer->firstname.' '.$customer->lastname, NULL, NULL, NULL, NULL, _PS_MAIL_DIR_, true); */ But mail are still sending... Link to comment Share on other sites More sharing options...
mouse1 Posted July 11, 2016 Share Posted July 11, 2016 (edited) This worked for me: controllers/admin/AdminOrdersController.php and comment out the following code as shown: /* @Mail::Send( (int)$order->id_lang, 'credit_slip', Mail::l('New credit slip regarding your order', $order->id_lang), $params, $customer->email, $customer->firstname.' '.$customer->lastname, null, null, null, null, _PS_MAIL_DIR_, true, (int)$order->id_shop ); */ I am using Prestashop 1.5.4.0 Edited July 11, 2016 by mouse1 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now