This module was desiged to load an heavy set of data into PrestaShop. Then you can use the SQL dump to easily "load" another shop with lot of data for performance testing.
Install the module:
- use
git clone
to clone this repository insidemodules/
folder - make sure the folder name is
psfixturescreator
(the folder name and the main PHP module name must match)
Here is how to do the previous steps all in CLI, from the shop root folder:
cd modules/
git clone git@github.com:PrestaShop/PsFixturesCreator.git psfixturescreator
cd psfixturescreator/
composer install
cd ../..
php bin/console prestashop:module install psfixturescreator
php bin/console cache:clear
A new Command should be available when you run php bin/console
:
php bin/console prestashop:shop-creator
Running this command will load the data. Please check options with -h
flag to see available parameters.