soduno Posted April 5, 2023 Share Posted April 5, 2023 (edited) Hello. I have created a override at the following location:override/controllers/front/OrderController.php Containing following: <?php class OrderController extends OrderControllerCore { public function initContent() { return 'testing from ordercontrolleroverride'; } } When I go to order page (where the OrderControllerCore is being loaded) nothing is being printed out. I have followed the documentation, as far as I can see this is how they explain it should be done. Am I missing something? Have clear cache in the Back-office and manually with bash: "rm -rf var/cache" Can see there's lots of discussion related to these overrides, but in the official documentation it's written like it can be used. Using PS 1.7.8 Running out of ideas 😐 Edited April 5, 2023 by soduno (see edit history) Link to comment Share on other sites More sharing options...
soduno Posted April 5, 2023 Author Share Posted April 5, 2023 Fixed the issue. Turns out there was another override which did conflict. Removed them and it worked... 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