Tags
Asked 3 years ago
10 Jun 2021
Views 597
Osvaldo

Osvaldo posted

How to override the Prestashop 1.7 Controller class

How to override the Prestashop 1.7 Controller class
steave ray

steave ray
answered Jun 10 '21 00:00

override class by creating a subclass and extending main class
you need to create a PHP file and place it either of the override folders of a module
like this for module

/modules/<module_name>/override/controllers/front/OrderController.php
Post Answer