Jump to content

How to disable email notification in PrestaShop?


Recommended Posts

Hi,

I'm looking for a way to disable some email notifications in PrestaShop.

As I know there is no way to do this without customizations.

And as I see it can be done by overriding MailCore class.

Is it really bad idea?

Can I disable an email notification in any other way?

 

Thank you.

Link to comment
Share on other sites

Hello:

You can disable order status change email notification modifiying Order States. Some other email notification are associated to modules, so you can disabled too. Which specific notification do you want to disable?

Regards

Link to comment
Share on other sites

5 minutes ago, Rolige said:

Hello:

You can disable order status change email notification modifiying Order States. Some other email notification are associated to modules, so you can disabled too. Which specific notification do you want to disable?

Regards

Hi,

For example: creating new customer account and converting guest account to registered customer.

Link to comment
Share on other sites

On 4/23/2019 at 9:33 AM, RomanSnow said:

Hi,

For example: creating new customer account and converting guest account to registered customer.

These notifications are not controlled by modules or specific config. I asume that PS thinks that they are very important to skip them. Any in PS 1.7 the account creation notification email is send at \classes\form\CustomerPersister.php::sendConfirmationMail so you can just comment the Mail::send function inside and that should be all.

Good luck

  • Like 1
Link to comment
Share on other sites

  • 2 years later...
  • 7 months later...
On 4/20/2019 at 2:22 PM, RomanSnow said:

Hi,

I'm looking for a way to disable some email notifications in PrestaShop.

As I know there is no way to do this without customizations.

And as I see it can be done by overriding MailCore class.

Is it really bad idea?

Can I disable an email notification in any other way?

 

Thank you.

Most of the email notifications can be disabled from Advanced Paramaters -> Orders Configuration -> Status (tab) 


Note that some particular modules send email notifications as well. Usually you can manage that from their configuration page.

psmails.PNG

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