Jump to content

Hook into the FrontController to run custom code


Recommended Posts

I want to add a hook into the FrontController (classes\controller\FrontController.php) (or anywhere else if you have a better idea), and then run some custom code. However if i ever update prestashop, this will be removed right? So is there anyway to prevent this? like overriding the frontController in my custom theme folder?

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