On this page
  1. Install
  2. Reset the fixtures
  3. Quote sample data

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.

mageb2b/staff-customerhistory declares a Composer suggest entry for a mageb2b/staff-customerhistory-sample-data package, but it is not part of every release or repository set — check composer show -a mageb2b/staff-customerhistory-sample-data against your repository access. Without it, create a few realistic history and visit records manually in a demo when those workflows need examples.

Display preferences

Adjust how this website is displayed. Changes apply immediately.

Text size
Text spacing
Reading aids

Follows the pointer. Move it with Alt + Up/Down outside input fields. Hidden while a dialog is open.

Uses the voices provided by your browser, which may use an online service. Reading starts only when you press Read aloud.

Your choices are saved in this browser for this website.