Migrate existing customers

Interactive migration tool to convert regular Shopware customers to B2B customers.

bin/console b2b:migrate:customers

Step-by-step migration wizard for enabling B2B features for existing customers.

Interactive Prompts:

  1. Database Backup Confirmation - Required safety check

  2. Create First Employee - Automatically creates admin employee from customer data

  3. Company Field Filter - Only migrate customers with filled company field

  4. Customer Group Filter - Migrate specific customer groups (semicolon-separated)

  5. Sales Representative Domain - Mark customers with specific email domain as sales reps

Migration Steps:

  1. Sets b2b_sales_representative custom field for domain-matched customers

  2. Sets b2b_platform_access custom field for eligible customers

  3. Processes customer group-based migrations

  4. Optionally creates first employee with admin rights

circle-exclamation

Last updated

Was this helpful?