Jump to content

Ver. 1.4.4.1 disable the order confirmation email


Jobo_dk

Recommended Posts

Hi!

 

Go to 'Classes/PaymentModule.php' ; towards the end of the 'validateOrder' function put these lines in comment:

 

if (Validate::isEmail($customer->email))
  Mail::Send((int)($order->id_lang), 'order_conf', Mail::l('Order confirmation'), $data, $customer->email, $customer->firstname.' '.$customer->lastname, NULL, NULL, $fileAttachment);

 

This should do the trick.

  • Like 1
Link to comment
Share on other sites

hi,

 

think i got i now.

I did commented the last } also..

/*if (Validate::isEmail($customer->email))

Mail::Send((int)$order->id_lang, 'order_conf', Mail::l('Order confirmation', $order->id_lang), $data, $customer->email, $customer->firstname.' '.$customer->lastname, NULL, NULL, $fileAttachment);*/

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...