anupama.synicsys 0 Report post Posted January 5, 2015 Hi, I tried to override OrderConfirmationController to do some actions after successfull order placement. As per the prestashop 1.6 documentation i tried to override OrderConfirmationController by placing OrderConfirmationController.php in modules/mymodule/override/controllers/front/OrderConfirmationController.php and the code as follows class OrderConfirmationController extends OrderConfirmationControllerCore{ public function displayOrderConfirmation() { echo 'test'; exit; }} But its not working. Default function only getting called. I tried by deleting class_index.php also. Please help.. Share this post Link to post Share on other sites
belenos31 0 Report post Posted January 6, 2015 you must to delete /cache/class_index.php file Share this post Link to post Share on other sites
bellini13 1,245 Report post Posted January 6, 2015 you really should create a module that uses the correct orderConfirmation hook. creating an override is not necessary for this type of thing. 1 anupama.synicsys reacted to this Share this post Link to post Share on other sites
jprr773 1 Report post Posted January 23, 2015 Hi, I tried to override OrderConfirmationController to do some actions after successfull order placement. As per the prestashop 1.6 documentation i tried to override OrderConfirmationController by placing OrderConfirmationController.php in modules/mymodule/override/controllers/front/OrderConfirmationController.php and the code as follows class OrderConfirmationController extends OrderConfirmationControllerCore { public function displayOrderConfirmation() { echo 'test'; exit; } } But its not working. Default function only getting called. I tried by deleting class_index.php also. Please help.. I had a similar issue with PS v 1.6.0.11 . This was what I did: In the backoffice, go to Performance->Advanced Parameters->Debug mode and check button «Disable all overrides» if YES, I think it will not load the override modules... Share this post Link to post Share on other sites