Jump to content

override controller fail


Recommended Posts

Hi, all!

I want to override OrderControllerCore class. By manual I creating override class in file 

/override/controllers/front/OrderController.php.  Cache is off. Prestashop 1.7.1.1.

 



class OrderController extends OrderControllerCore
{


 public function init()
    {
        die('Override');
    }
}


 And waiting error occured when i click for checkout product. But i show 5-th step checkout. Override not working. What's wrong?

tnx.

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