Amazzing Posted June 15, 2011 Share Posted June 15, 2011 Dear Prestashop comunity,Is it possible to turn off all e-mail notifications sent to customers, for a certain period of time?I just need this function to be turned off for 2-3 months. After that, I want to re-enable it. PS 1.4.2.5Thanks in advance Link to comment Share on other sites More sharing options...
Amazzing Posted June 15, 2011 Author Share Posted June 15, 2011 Does anybody know how to do it?It seems to be so easy. Maybe some code needs to be modified? I found this part of the code in the classes/PaymentModule.php // Send an e-mail to customer if ($id_order_state != _PS_OS_ERROR_ AND $id_order_state != _PS_OS_CANCELED_ AND $customer->id) {... ...($data, $extraVars); Can I just comment out this part safely? Link to comment Share on other sites More sharing options...
bellini13 Posted June 17, 2011 Share Posted June 17, 2011 yes, you should be able to comment out the line that performs the sendmail function in the validateorder method. you should also review the mailalerts module, might want to disable that as well. 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