CLI-Commands
all available command are listed over bin/console and prefix b2b:
you can use following CLI Commands:
B2bSellersCore
B2B-Platform Build-Command (Vue.Js)
Following command build the Vue.js b2b-platform and make it available for production use.
Entity-Mapping Command
E.g. at the customer prices, it is possible to fill customer prices with customer numbers and product numbers instead of UUIDs. Following command fill the necessary UUIDs for product UUIDand customer UUIDif the product or customer is available.
we recommend this as cronjob every 1 or 5 minutes
Migrate existing customers to B2B-customers & create first employee for all available b2b-customers
If you setup our B2Bsellers to an existing shopware 6 shop, you might want all customers to be created directly as employees, so that the login remains and they are forwarded directly to the B2B platform. Then the following commands makes sense for you. Please check on a local environment which command makes sense.
Reinstall Custom Fields
Rebuild the B2B Platform Menu
If you want to reset the B2B platform menu to the default, you can do this with this CLI command.
Create Test-Data
Currently, it creates customer, employee and product test data:
please ensure, that your mail client is disabled.
B2bProductSubscriptions
Following command checks whether there are subscriptions for which an order must be triggered.
Addons Configuration
Activation / Deactivation
You can both enable or disable addons via cli. To change multiple, put the addon names separated by space after the activation / deactivation command.
It is also possible to omit "b2b" from the addon name when listing them.
List current activation status of all addons
You can also return a list of all addons and their current status, using this command:
Last updated