Jump to content

How to override MailAlerts module?

Nelson Minica

Recommended Posts

I am trying to override the hookNewOrder function from modules/mailalerts/mailalerts.php


I created override/modules/mailalerts/mailalerts.php


I've tried everything I could think of...


MailAlerts extends MailAlertsCore

newMailAlerts extends MailAlerts

MailAlerts extends MailAlerts

MailAlerts extends Module


All with no effect, can't find any errors. What am I doing wrong?



Link to comment
Share on other sites

  • 6 years later...

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