Magento 2 B2B Module Installation Guide

This document provides detailed instructions for installing the module using two methods: via Composer (recommended) or by manually copying files.

 

Prerequisites

Before starting the installation, ensure you have:

Installation

Option 1: Installation via Composer (Recommended)

This method is recommended as it simplifies the installation and update process.

Step 1: Add the Repository

Prior to installing the extension, please check the latest tag on https://magento2connectorb2b.unific.com/

composer config repositories.unific composer https://magento2connector-b2b.unific.com

Step 2: Install the Module

composer require unific/extension-b2b

Step 3: Enable the Module

php bin/magento module:enable Unific_B2b

Step 4: Run Setup Upgrade

php bin/magento setup:upgrade

Step 5: Deploy Static Content ( optional if production mode enabled )

php bin/magento setup:di:compile

Step 6: Deploy Static Content (optional if production mode enabled)

php bin/magento setup:static-content:deploy

Option 2: Installation via Composer using github (Recommended if option 1 is not working / remove it from file when option 1 will be configured)

This method is recommended as it simplifies the installation and update process.

Step 1: Add the Repository

composer config repositories.unific vcs git@github.com:unificdotcom/magento2-extension-b2b.git

Step 2: Install the Module

composer require unific/extension-b2b:dev-main

Step 3: Enable the Module

php bin/magento module:enable Unific_B2b

Step 4: Run Setup Upgrade

php bin/magento setup:upgrade

Step 5: Deploy Static Content ( optional if production mode enabled )

php bin/magento setup:di:compile

Step 6: Deploy Static Content (optional if production mode enabled)

php bin/magento setup:static-content:deploy

Option 3: Manual Installation

If you cannot use Composer, follow these manual installation steps.

Step 1: Download the Module

Download or clone the repository from https://github.com/unificdotcom/magento2-extension-b2b

Step 2: Copy Files

Extract the archive and copy the Unific/B2B directory to your Magento's app/code directory. If the directory does not exist, create it.

Step 3: Enable the Module

php bin/magento module:enable Unific_B2b

Step 4: Run Setup Upgrade

php bin/magento setup:upgrade

Step 5: Deploy Static Content ( optional if production mode enabled )

php bin/magento setup:di:compile

Step 6: Deploy Static Content (optional if production mode enabled)

php bin/magento setup:static-content:deploy

Configuration

Configure the module in Magento's admin panel under Stores -> Configuration -> Unific -> B2B Settings.

Compatibility

  • Compatible with Magento 2.3.x and above
  • PHP version 7.3 or higher
 Support

See troubleshooting steps on the main Unific "Connector" extension.

For technical questions, create a ticket here.