Lukenzo Posted May 19, 2020 Share Posted May 19, 2020 Hello. I want to override front OrderController. It works if I put the class in /override/controllers/front/OrderController.php and does not work if I put in inside /module/controllers/front , /module/override/ , /module/override/controllers/front and etc. What is the correct way to do so ? Link to comment Share on other sites More sharing options...
Lukenzo Posted May 22, 2020 Author Share Posted May 22, 2020 anyone ? Link to comment Share on other sites More sharing options...
Guest Posted May 23, 2020 Share Posted May 23, 2020 http://doc.prestashop.com/m/mobile.action#page/23069356 Link to comment Share on other sites More sharing options...
Lukenzo Posted May 23, 2020 Author Share Posted May 23, 2020 Hi. Thank you Guest. It seems, that it was working all the time, but it calls not the class in module, but it copies it to /override/ folder and uses that one. That's why my debugger was not stopping at the breakpoint. 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