Staff Sample Data

mageb2b/staff-sample-data creates a connected demonstration dataset for Staff: customer groups, customers and addresses, Staff groups, representatives, assignments, products and Staff-attributed orders.

Install it only in a disposable demo, development or test environment. It creates records in Magento's normal customer, catalog and sales tables and is not a harmless visual fixture for a live store.

Install

composer require mageb2b/staff-sample-data:*
php bin/magento module:enable MageB2B_StaffSampleData
php bin/magento setup:upgrade
php bin/magento cache:flush

The setup data patch installs the fixtures once. Verify the expected fixture records with:

php bin/magento sampledata:verify:staff

Reset the fixtures

The package provides:

php bin/magento sampledata:reset:staff

This is a destructive development command. It removes records identified by the package fixtures, including fixture customers, Staff users, groups, assignments and products, and clears the patch record so the data can be installed again. Take a database snapshot first and do not run it where fixture identifiers might overlap data someone intends to keep.

Quote sample data

Staff Quote has its own fixture package. It depends on the base Staff sample data and is documented separately under Staff Quote Sample Data.

There is no staff-customerhistory-sample-data package in the reviewed Staff family. Create a few realistic history and visit records manually in a demo when those workflows need examples.