The sole idea of this repository is to serve as a sample module for people looking to override Symfony routes and/or controllers in PrestaShop.
Download the release
code and copy it to the prestashop/modules
folder, then go to Back Office -> Modules -> Module Catalog
search for 'sk_testmodduleand activate it. After that, navigate to
/adminXXXX/index.php/sell/orders/orders/` and it should work.
If you plan to use this module as a template, do the following:
- Clone the repository into your modules folder:
cd path_to_prestashop/modules git clone https://github.com/skaparate/prestashop-sample-module.git sk_testmodule
- Install the dependencies:
cd path_to_prestashop/modules/sk_testmodule composer install
- Enable the module by running this command:
php path_to_prestashop/bin/console prestashop:module install sk_testmodule
. - You should be able to see it working on your backoffice
/adminXXXX/index.php/sell/orders/orders/
.