Jump to content

How to turn off email notifications


Recommended Posts

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

Thanks in advance

Link to comment
Share on other sites

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

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