cikcak Posted January 10, 2015 Share Posted January 10, 2015 Hey, is this possible to disable order confirmation email? I would like to send only mail attached to my payment module. I tried to look at : classes/PaymentModules.php and comment: if (Validate::isEmail($this->context->customer->email)) Mail::Send( (int)$order->id_lang, 'order_conf', Mail::l('Order confirmation', (int)$order->id_lang), $data, $this->context->customer->email, $this->context->customer->firstname.' '.$this->context->customer->lastname, null, null, $file_attachement, null, _PS_MAIL_DIR_, false, (int)$order->id_shop ); But it still send me order confirmation mail. Thanks for help! Link to comment Share on other sites More sharing options...
NemoPS Posted January 10, 2015 Share Posted January 10, 2015 Weird, what you did should do it. Is there any override for the PaymentModule class? Link to comment Share on other sites More sharing options...
cikcak Posted January 10, 2015 Author Share Posted January 10, 2015 Weird, what you did should do it. Is there any override for the PaymentModule class? Ech.. checked all order, payment files, bo and didnt check this. Yap, I found override. It seems okey. Solved. Best regards Nemo! 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