Jump to content

override AdminOrdersControllerCore from custom module

Recommended Posts


I need to override controller AdminOrdersController from my custom module.

I read that to do so. I had to create a new class in "modules/<name of the module>/override/controllers/admin/AdminOrdersController.php".

I have it like this: 

class AdminOrdersController extends AdminOrdersControllerCore {

public function __construct() { 




But it does not work. 

I've place the same file but in "override/controllers/admin/AdminOrdersController.php" and the class is override  as intended.

Can anyone help ? 

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More