Guest Posted October 22, 2013 Share Posted October 22, 2013 Hello guys, If have been searching the web for so long now, to find help with the order confirmation mail! I know how to edit the email, and i've tried to delete the two order_conf templates. Nothing seems to help. I want prestashop to NOT send the order confirmation email upon an order. I have a separate program for that. PLEASE help me! Best regards Mathias from Denmark Link to comment Share on other sites More sharing options...
safa Posted October 22, 2013 Share Posted October 22, 2013 hi; open this file classes/PaymentModule.php and find and delete this code. 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 ); i didn't tested , but will be works. Link to comment Share on other sites More sharing options...
Guest Posted October 22, 2013 Share Posted October 22, 2013 hi; open this file classes/PaymentModule.php and find and delete this code. 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 ); i didn't tested , but will be works. Hello, Than you for your response. I've tried it not, but it did no work. Do you have anything else i can do? Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted October 22, 2013 Share Posted October 22, 2013 Hi, solution from @safa should works, maybe you have override for this file, please check Regards Link to comment Share on other sites More sharing options...
Guest Posted October 22, 2013 Share Posted October 22, 2013 Hi, solution from @safa should works, maybe you have override for this file, please check Regards Hello I have two files, yes. Altho i've done what @safa said in both files. I've attached a photo for you to see that i've deleted it. You will see that in the document i am searching for "confirmation" which is a part of the code, and there is no result. Because i've deleted it. http://gupl.dk/703083/ Link to comment Share on other sites More sharing options...
vekia Posted October 22, 2013 Share Posted October 22, 2013 and what about mailalerts module? just disable it Link to comment Share on other sites More sharing options...
Guest Posted October 22, 2013 Share Posted October 22, 2013 and what about mailalerts module? just disable it Hello, It already is... This is really killing me... Thank you for your reply anyways. Link to comment Share on other sites More sharing options...
vekia Posted October 22, 2013 Share Posted October 22, 2013 let's clarify: you want to disable mail for you as merchant and shop owner or maybe you want to disable mail to customers? 1 Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted October 22, 2013 Share Posted October 22, 2013 I agree with vikea, can you explain us what messages exactly do you want to disable? Link to comment Share on other sites More sharing options...
Guest Posted October 22, 2013 Share Posted October 22, 2013 let's clarify: you want to disable mail for you as merchant and shop owner or maybe you want to disable mail to customers? Thank you for your time. I want to disable it for my customers, not for myself. Link to comment Share on other sites More sharing options...
vekia Posted October 22, 2013 Share Posted October 22, 2013 now it's clear well, in this case everything depends on "payment" modules that you use. some of them have got own "statuses" defined with e-mail notifications. you can disable e-mails for all "default" payment statuses (and for non-default too) under orders > statuses tab in your back office. Link to comment Share on other sites More sharing options...
safa Posted October 22, 2013 Share Posted October 22, 2013 hi; i tested my solution on this shop http://www.prestasource.info/demo/index.php and works perfecty not coming order confirmation mail. Payment accepted ,Preparation in progress .. emails coming but order confirmation mail not coming. Link to comment Share on other sites More sharing options...
Guest Posted October 22, 2013 Share Posted October 22, 2013 hi; i tested my solution on this shop http://www.prestasource.info/demo/index.php and works perfecty not coming order confirmation mail. Payment accepted ,Preparation in progress .. emails coming but order confirmation mail not coming. Hello I've attached a photo for you to see that i've deleted it. You will see that in the document i am searching for "confirmation" which is a part of the code, and there is no result. Because i've deleted it. http://gupl.dk/703083/ Link to comment Share on other sites More sharing options...
Guest Posted October 22, 2013 Share Posted October 22, 2013 (edited) now it's clear well, in this case everything depends on "payment" modules that you use. some of them have got own "statuses" defined with e-mail notifications. you can disable e-mails for all "default" payment statuses (and for non-default too) under orders > statuses tab in your back office. Hello, I've now disabled alle the statusses, and it doesnt help... The order confirmation is not a part of the statusses. Here is a screenshot of it. http://gupl.dk/703093/ And even tho i've disabled all statusses, it still sends me the mails with "awaiting bank wire" etc... i really dont get this.... Edited October 22, 2013 by Guest (see edit history) Link to comment Share on other sites More sharing options...
safa Posted October 22, 2013 Share Posted October 22, 2013 hi; send me your ftp details via PM, i want to look your paymentmodule.php Link to comment Share on other sites More sharing options...
Guest Posted October 22, 2013 Share Posted October 22, 2013 hi; send me your ftp details via PM, i want to look your paymentmodule.php Done Link to comment Share on other sites More sharing options...
addon.vivek Posted January 29, 2014 Share Posted January 29, 2014 Hi all, Same problem here , Order Confirmation mail is not receiving on my store . I have done the all steps of above but not getting success. Please help me. Link to comment Share on other sites More sharing options...
vekia Posted January 29, 2014 Share Posted January 29, 2014 hello, customer receives this email? problem is related only to admin mail? Link to comment Share on other sites More sharing options...
addon.vivek Posted January 29, 2014 Share Posted January 29, 2014 (edited) Hello sir, Customer is not receiving the order confirmation mail.. Only problem in OrderConfirmation mail. When user buy the product... Please help me.......... Edited January 29, 2014 by addon.vivek (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