AccelaSearch Prestashop Module is a Prestashop module that allows you to add a powerful search engine to your store.
Minimum Prestashop version: 1.7.0 or higher Minimum PHP version: 7.1 or higher
Routing of ajax calls made by RTK Query is done by official AdminController and managed by a Dispatcher that route the request to src/Controller/CamelCaseController.php dinamically. To add a new route just add row to the controllers/AccelasearchAdmin.php and create a new controller in src/Controller folder.
Create a new service in react/services folder and add it to the service.js file.
You can use localtunnel to expose your local Prestashop installation to the internet.
npx localtunnel --port 8199Some commands needs to be run inside the container, check make help for more info.
make lintmake lint-fixmake php-lintmake phpstanmake header-checkmake header-fixmake testmake autoindexTYPE=patch make releaseCreate a file in the tests/Unit folder with the name of the class you want to test and add the suffix Test.php.
Take a look at the tests/Unit/ManagerTest.php file for an example.
- URL: http://localhost:8199/adminPS
- Username: demo@prestashop.com
- Password: prestashop_demo