Appearance
Demo fixtures
The marketplace fixtures extend Sylius' own default fixture suite rather than shipping a separate one — channels, products and customers come from Sylius' fixtures, and the marketplace adds vendors, plans, payout methods and seller users on top of them.
To load everything:
bash
php bin/console sylius:fixtures:loadAdding the marketplace fixtures to your own suite
If you are composing your own suite instead of using default, here is the reference for the fixtures this plugin provides:
yml
# config/packages/_sylius.yaml
sylius_fixtures:
suites:
default:
fixtures:
vendor_plan:
options:
random: 3
vendor:
options:
random: 3
vendor_payout_method:
options:
random: 3
shipping_method:
options:
random: 3
promotion:
options:
random: 3