Magento 2 B2B Extensions

  1. Home
  2. Docs
  3. Magento 2 B2B Extensions
  4. Magento 2 Company Account
  5. User Guide

User Guide

1. Overview

Magento 2 Company Account extension allows the admin to switch a normal account to a company account.

Then, the company admin - who first registered for the company account, can create and share access to the account for multiple users with different roles/permissions.

b2b-category-banner

2. How Does It Work?

2.1. General settings

Company-Account-General-Settings.
Company Account general settings

Please go to Stores => Configurations => Magento 2 Company Account.

Set Enable Company Account to Yes.

In Email Config, choose the sender and templates.

Notes:

In "Send Active Email Copy to" and " Send Deactive Email Copy to", input multiple emails separated by commas.

In Update User And Role Notifications section, choose the email template sent to the admin to notify the updated information of role and sub-user.

In Order Approval Notifications section, choose the email template sent to:

  • Admin: notify about the order request/newly created order from the sub-user.
  • Sub-user: notify about the status of order request (approve or reject) from admin/Approve Order Waiting sub-user.

2.2. A customer registers for an account in the storefront.

customer-sign-up-for-Magento-2-company-account
Customers register for an account and wait for the admin to switch it into a company account.

To start with, a customer will sign up for a new account via the default registration form.

Then, he/she needs to contact the store admin to switch the created account to the company account in the backend.

2.3. Approve/Reject company accounts in the backend

Magento-2-customers-grid
Manage all registered accounts in Customers grid

All registered accounts, including company accounts, are reported in the Customers grid. Upon contact with the customer, the admin then switches a normal account to the company account in 2 ways:

on the Customer Edit page

Under Account Information, there is a new field "Is Company Account".

  • By setting this field to Yes, a company account is now available.
  • Setting it to No means the account is just a normal account.
Mass action is allowed

Otherwise, the store admin can change multiple accounts to company accounts or remove them from company accounts with the mass action.

[NOTES]

Install Magento 2 Customer Attributes extension and
Magento 2 B2B Registration extension to streamline the communication!

Magento 2 B2B Registration helps create an additional registration for company account so that you can divide company accounts and normal accounts into separate groups for better management.

More importantly, company accounts are pending for the store admin to review and approve/reject.

pending-message-for-company-account
Pending message for Company Account registration

Registered accounts are recorded in Customers grid for further action.

Customer-grid-B2B-registration
Switch the registered accounts to company accounts in grid

With Magento 2 Customer Attributes, you can add fields to both default sign form and B2B registration form to get to know your customers.

Customer-attributes-in-Magento-2-sign-up-form
Create customer attributes to add fields in the sign-up form.

Information filled is visible in the Customers grid. The store admin can switch an account to the company account without having to wait for the customers to contact in advance.

Customer attributes in Customers Grid

2.4. Create users, roles and permissions in the storefront

company-account-welcome-email
Company Account Welcome email

When the store admin switches an account to the company account, a notification email is sent accordingly. Then, the company admin can login to his/her account.

Company Account dashboard

From now on, you must get familiar with three new roles:

  • The store admin: It is the person who will review, approve, or disapprove the company account registration
  • Company admin: One who registers the company account in the first place and who is assigned the role "Admin."
  • Sub-users: Sub-users are created by company admin or store admin under Account management. They have limited roles and permissions.

2.4.1. Create and manage new roles

create-new-roles
Manage roles and permissions

Go to Manage Role under Account Dashboard, the company admin can add new role for users.

Please note that the Admin role is available in advance. Those assigned the Admin role will have permissions as the company admin.

Add or update company account roles (1)

Assign permissions to the roles

Choose to add New Role and assign built-in permissions to the role.

  • In Role Name: input the role
  • In Permissions: Among available resources, choose what information can be accessed and managed by the role.
  • In Max Order per Day: input an amount. Skip this field if you do not want to set an order amount limitation.
  • In Min Order per Day: input an amount. Skip this field if you do not want to set an order amount limitation

Remember to Save the settings.

2.4.2. Create and manage new sub-users

create-new-users
Manage users of company account

Now, go to Manage Sub-users to create new sub-users.

create-magento-2-company-account-sub-users
Create a new sub-user and assign a role

Choose to add New Sub-user and assign a built-in role to the sub-user.

  • In Status: choose to Enable or Disable the sub-user
  • In Sub-user Name: Input name of the user
  • In Sub-user Email: input an email which is not added before.
  • In Role: pick up an available role

Remember to Save the settings.

An email will be sent to the sub-user.

Sub-user Welcome email

2.5. Create a company account, roles and permissions, and sub-users in the backend

The admin can also create a company account, sub-users and assign roles/permissions to the users.

2.5.1. Create a new company account

2.5.2. Create and manage roles

2.5.3. Create and manage sub-users

If you have any questions about this Magento 2 Company Account extension, feel free to contact us.

Was this article helpful to you? Yes No

How can we help?