Magento 2 B2B Extensions

  1. Home
  2. Docs
  3. Magento 2 B2B Extensions
  4. Magento 2 B2B Registration
  5. Installation Guide

Installation Guide

After finishing the purchasing process, we will immediately send you an email containing the link to download this extension.

(Please turn off Merge-JS before installing the module. Only Turn on Merge-JS when finishing the installation).

NOTE: If you use Hyva theme, please install the original extension via Composer.

1. Install the extension

1.1. Install via App/Code

Step 1:

Unzip the file.

Step 2:

Create another directory called app/code/Bss/B2bRegistration/. B2bRegistration is the module's internal identifier. You can find it in the "composer.json" file in the extension ZIP file you downloaded, look at the node "psr-4".

This is what you call the directory, and then you put the contents of the extension ZIP file in there.

Step 3:

Upload the directory app/code/Bss/B2bRegistration/ into the root directory of your Magento installation. The root directory of Magento is the directory that contains the directories "app", "bin", "lib" and more. All directories should match the existing directory structure.

Step 4:

Go to Magento 2 root directory.

Run: php bin/magentosetup:upgrade.

Step5:

Run: php bin/magentosetup:static-content:deploy.

Step 6:

Run: php bin/magento setup:di:compile

Step 7:

Clear all Caches.

When installing Magento 2 B2B Registration extension:

Because the extension adds customer attributes into the customer grid so after installing the module, admins need to reindex customers.

Run: php bin/magentoindexer:reindexcustomer_grid

1.2. Install via Composer

Besides installing Magento 2 extensions via App/Code, installing via Composer is another very common and simple way used by a lot of Magento users.

Follow the guide here.

2. Install/Uninstall/Disable the Hyva Theme Compatibility package

The following instruction is used for the Hyva theme compatibility package ONLY.

*Note: This module needs to install the Hyva compat base module.

2.1. To install the Hyva compatibility package:

Step 1: Install the extension by the above Composer (If you have already installed the module, then skip this step)

Step 2: Install the Hyva compatibility package:

a. Install via composer, run commands:

- composer require hyva-themes/magento2-bsscommerce-tên_composer

- php bin/magento s:up

*Note: When install via composer, you also need to install 2 other modules bsscommerce/b2b-registration and hyva-themes/magento2-compat-module-fallback via composer

b. Enable module, run command:

- php bin/magento setup:upgrade

2.2. To disable the Hyva compatibility package, run commands: 

- php bin/magento module:disable Hyva_BssB2bRegistration

2.3. To uninstall the Hyva compatibility package, run commands:

- composer remove hyva-themes/magento2-bsscommerce-b2b-registration

*NOTE 1:

When installing module, you need to run the following commands to receive css:

- bin/magento hyva:config:generate

Adding the file including tailwind css: "src": "vendor\/hyva-themes\/magento2-bsscommerce-b2b-registration\/src" to file app/etc/hyva-themes.json

- cd /path/vendor/hyva-themes/magento2-default-theme/web/tailwind/

(This path is for theme Hyva default in your site)

- cd /path/to/project/app/design/frontend/VendorName/ModuleName/web/tailwind/

(This path is for custom theme in your site)

- npm run build-prod

*NOTE 2: 

  • This module needs to install together with the module Bss_HyvaCompatBase. To install it, follow this guide.
  • After installing, navigate to Stores > Bss Commerce > Hyvä Theme Compat Base > Rewrite Template, then in Block Customer Menu choose Yes.

*NOTE 3: If you are using Magento 2 themes, please follow this tutorial to get patches for theme compatibility.

After purchasing this module, just add our skype account at support.bsscommerce, BSS Support Team will help you to install this extension immediately. Further assistance is available via Email and Skype.

In case you have followed all above steps but the extension still doesn’t work properly, you can delete the file or change the module’s filename to keep your website function as normal. Then please contact us via sales@bsscommerce.com or Skype: support.bsscommerce, our supporters will assist you in resolving any issues within 24 hours.

 

Was this article helpful to you? Yes No

How can we help?