Jump to content

Is it possible to overwrite a controller in PrestaShop 1.7 by a module?


Recommended Posts

Hello,
 
how can I use my own controllers in PrestaShop 1.7? For example I want to add an extra (HTTP) header in PageNotFoundController. So I have to modify the public function initContent() in the file /controllers/front/PageNotFoundController.php.

How can I do this with a module?

Link to comment
Share on other sites

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