Upgrade

Updating the B2Bsellers Suite is generally straightforward, but major version jumps require specific steps to ensure a smooth transition.

Upgrading works just like the installation. However, in some major versions or when upgrading Shopware versions, there are some things that should be taken into consideration to avoid issues during the upgrade.

General Upgrade Process

Upgrading works just like installing, where you can usually upload the file, and then click update in the admin.

Alternatively, you can also install the update via command line input.

Command Line Update Process

If you prefer using the terminal, the process differs slightly from the initial installation. After uploading the file via the Admin, navigate to your shop's root directory and run the following command:

bin/console plugin:update b2bsellerscore

Special Instructions

Upgrading to 4.0.0

circle-info

The manual SQL steps below are only required when upgrading specifically to version 4.0.0. If you are upgrading to version 4.0.1 or higher, these database adjustments are handled automatically and no manual SQL execution is necessary.

To avoid errors during the upgrade — specifically if your existing database contains addresses with missing name fields — you must follow these two steps:

Before continuing with the update, run this SQL statement to ensure no NULL values cause a conflict:

UPDATE `customer_address` SET first_name = '' WHERE first_name IS NULL;
UPDATE `customer_address` SET last_name = '' WHERE last_name IS NULL;
UPDATE `order_address` SET first_name = '' WHERE first_name IS NULL;
UPDATE `order_address` SET last_name = '' WHERE last_name IS NULL;

To ensure the checkout functions correctly with empty name fields moving forward, apply the following schema changes:

Last updated

Was this helpful?