Jump to content

Remove the automatic mail when create a credit_slip


Recommended Posts

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

  • 3 years later...

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 by mouse1 (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...