vsg68 Posted May 25, 2017 Share Posted May 25, 2017 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 More sharing options...
vsg68 Posted May 29, 2017 Author Share Posted May 29, 2017 (edited) It turned out class must be putted in /modules//MODNAME/override directory. By installing module presta put it in /override directory, and then it begin working. Edited May 29, 2017 by vsg68 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now