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 😐