Sample Data

mageb2b/sublogin-sample-data installs disposable records for development and demonstrations. It is not a production-data starter kit.

The current family ships one sample-data package. Separate Role, Budget, Order Approval or Reports sample-data packages described in older documentation are not part of the current package set.

What it creates

The fixtures cover a broad Sublogin scenario, including customers, sublogins, products, orders and address, payment and shipping relationships. They use predictable credentials and obvious fixture identities.

Install them only in an isolated development database that contains no customer or production copy.

Install in a disposable environment

composer require mageb2b/sublogin-sample-data
php bin/magento module:enable MageB2B_SubloginSampleData
php bin/magento setup:upgrade

Never include this package in a production deployment artifact.

Verify the fixtures

php bin/magento sampledata:verify:sublogin

Use the result to confirm the data patches ran. Then test the feature, but do not reuse fixture names, passwords, domains or product labels in public screenshots.

Reset the fixtures

php bin/magento sampledata:reset:sublogin

This command is interactive and destructive. It removes Sublogin sample records and resets the relevant data patch so setup:upgrade can install them again.

Before running it:

  1. confirm the database is disposable;
  2. take a snapshot if other development work matters;
  3. read the confirmation target carefully;
  4. run php bin/magento setup:upgrade only when you intend to recreate the fixtures.

For demonstrations intended for customers or screenshots, create a small coherent fictional company through the normal UI instead. Those records are easier to explain and do not expose predictable fixture credentials.