Jump to content

[PS 1.6] Stop the Mail Alerts module from sending out mail to customer when stock is available if the product is disabled


5haun

Recommended Posts

I have some products that are disabled and when I add stock to the product and the a customer has already subscribed to stock notifications, they still get an email.
The problem with that is that when they go and look for the product it's not there.

How can I stop the Mail Alerts module from sending out mail to customer when stock is available IF the product is disabled?

What should I change the code to in the mailalerts.php?

Thanks.

 

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