Important
You are browsing documentation for version 5.0 of OroCommerce. Support of this version ended in January 2025. Read the documentation for version 6.1 (the latest LTS version) to get up-to-date information.
See our Release Process documentation for more information on the currently supported and upcoming releases.
Loading Demo Data
To load demo data during installation, run the oro:install
command with the --sample-data=y
option.
To load demo data after installation, run:
php bin/console oro:migration:data:load --fixtures-type=demo --env=prod
Tip
You can use the --dry-run
option to first check which fixtures will be loaded:
php bin/console oro:migration:data:load --dry-run --fixtures-type=demo --env=prod
To load demo data fixtures from the specified package directories, run:
php bin/console oro:package:demo:load
Hint
See the oro:install command description for more information.