Test data

The B2B platform has the possibility to provide test data.

You can populate your Shopware environment with realistic B2B scenarios using the B2B Demo Data Plugin. This allows you to test complex hierarchies, sales agent assignments, and customer roles immediately.

Installation via CLI

The demo data plugin can now be installed more flexibly. While you can still specify a branch, the command will now allow you to select the appropriate version interactively if the argument is omitted.

We have streamlined our branches to match the major Shopware versions: shopware-6.5, shopware-6.6, and shopware-6.7.

# 1. Install the plugin
# You can run this without arguments to select the version in the CLI:
bin/console b2b:test-data:install-plugin

# OR specify the major version branch directly:
bin/console b2b:test-data:install-plugin --branchName shopware-6.7

# 2. Activate the plugin
bin/console plugin:activate b2bdemodata

# 3. Create the demo data
bin/console b2b:test-data:create

Install via Composer

Alternatively, you can manage the plugin via Composer:

Available Commands

Once installed, use these commands to manage your test environment:

  • Create Data: bin/console b2b:test-data:create

  • Reset/Delete Data: bin/console b2b:test-data:reset -f

Demo Data Overview

The plugin creates a comprehensive B2B ecosystem.

Below are the primary test accounts (Password for all: b2bsellers).

Sales Agents (Luxon Blech-Handel)

Role

Name

User

Permissions

Field Staff

Markus Bauer

Access to 2 assigned employees

Office Staff

Michael Sommer

Supervisor (Full Rights)

B2B Customer: EKTEK GmbH

A complex multi-company structure with shared addresses and specific roles.

Name

User

Role

Access Scope

Henk Becker

CEO / Admin

All EKTEK subsidiaries

Mareike Schmidt

Purchasing

Spare-Parts & Hausgeräte

Klaus Herpich

Accounting

Spare-Parts, Training & Hausgeräte

Martin Müller

Installer

Ektek Spare-Parts GmbH only

Additional Test Profiles

circle-info

For a visual walkthrough on setting up test customers, please refer to our "Install and Configuration Guide Video".

Last updated

Was this helpful?