If your customers are companies, you can install the B2B for Adobe Commerce module to extend your Adobe Commerce on cloud infrastructure Pro project to accommodate a business-to-business model. Although this topic provides information specific to installing and configuring the B2B module for Adobe Commerce on cloud infrastructure, you can find additional B2B information in the following guides:
Because we provide B2B as a module for Adobe Commerce on cloud infrastructure, we highly recommend that you have your Adobe Commerce application fully deployed to an Integration or Staging environment before beginning.
We recommend working in a development branch when adding the B2B module to your project. If you do not have a branch, see Create a branch for development. When installing the B2B module, the Magento_B2b
module name is automatically inserted in the app/etc/config.php
file. There is no need to edit the file directly.
To install the B2B module:
On your local workstation, change to your project directory.
Create or check out a development branch.
Add the B2B module to the require
section of the composer.json
file.
composer require magento/extension-b2b --no-update
Update the project dependencies.
composer update
Add, commit, and push code changes.
git add -A
git commit -m "Install the B2B module."
git push origin <branch-name>
After the build and deploy finishes, use SSH to log in to the remote environment and verify that the B2B module installed.
bin/magento module:status Magento_B2b
An extension name uses the format: <VendorName>_<ComponentName>
.
Sample response:
Module is enabled
If you encounter deployment errors, see Recover from component failure.
When you install the B2B module using Composer, the deployment process automatically enables the module. If you already have the B2B module installed, you can enable or disable the module using the CLI. See Manage extensions.
After installing the B2B for Adobe Commerce module, you must start the message consumers so that you can enable the Shared Catalog module, and you must enable the B2B features.