[PrestaShop] How to override PrestaShop controller, class or main class of the module

In this entry I describe how to override PrestaShop controller, class or main class of the module.

 

How to override PrestaShop controller: /controllers/front/AddressController.php (this is just an example of the file)

Create file: /override/controllers/front/AddressController.php with content:

 

How to override PrestaShop class: /classes/Address.php (this is just an example of the file)

Create file: /override/classes/Address.php with content: Continue reading [PrestaShop] How to override PrestaShop controller, class or main class of the module

[PrestaShop][1.6] Add friendly URL to shop home page

When we turn on Friendly URL in PrestaShop, shop home page url looks like this:
http://example.com/en/
This entry shows trick how to change this url to:
http://example.com/en/shop Continue reading [PrestaShop][1.6] Add friendly URL to shop home page