Introduction

Sales Agents and Dealers allows you to define a new Magento customer role with certain permissions. The Sales Agents and Dealers extension introduces a new Sales Agent Role. Those customers with a Sales Agent role would be able to login to the front end of the webshop, take identity over their assigned customers and opportunity for placing orders only for specific customers.





Compatibility

- This extension is compatible with the default Magento 2.0 Luma theme.

- This extension is compatible with Magento versions 2.0.x - 2.1.x


 

 



Installation

Download the extension package from your account and extract the downloaded archive.

Copy the "app" folder (and its content): "/" to the root Magento directory.

Positioned in the root Magento directory execute the following commands:


1. Install: php bin/magento setup:upgrade

2. Recompile (Optional): php bin/magento setup:di:compile

3. Reindex (Optional): php bin/magento indexer:reindex

4. Clear the Magento cache (Optional): php bin/magento cache:clean







Configuration 

System -> Configuration -> B2B Extensions -> Sales Agents




1. Info & Support: An overview of the extension information such as version number, compatibility, documentation and support.


2. Settings:

Extension Enabled: Yes/No

Display Customer identity Block: You can show/hide the header block displayed for Sales Agents role.


4.  Setting Permissions on the Sales Agents Role

Browse to Customers -> Manage Sales Agents and Roles.

The Sales Agents Role is shown in the grid.The same can be  modified and can be restrict with the following two permissions:

  1. Access to Customer: With this permission, the Sales Agent Role can have access to his assigned customers and view their account details info. If this setting is enabled a "Your Customers" tab will appear in the My Account left navigation menu.
  2. Customer Identity take over: With this permission, the Sales Agent Role can take over identity of his assigned customers, log with their accounts and place orders. If this setting is enabled a "Log in as Customer" button is visible on the "Your Customers" page.










5. Setting customers to Sales Agent Role


Browse to Customers -> Manage Customers. In the left navigation menu a new tab "Allowed Customers" is shown, from where you can select specific customers who will belong to the Sales Agents Role.





Admin section - Sales Orders



Customer with the sales agent role can also create orders from the admin section. 






In the case when agent role has placed an order for a specific customer the "Placed By" column under Sales-> Orders in the admin is filled with the Sales Agent name.







Front End


Home page


After a Sales Agent is successfully logged in, on the Home page can be seen the top notification banner, informing that you are logged in as a customer with the Sales Agents role and you have an option to choose to take identity over your customers who belong to the Sales Agents role.




My Account page

Browse to My Account -> "Your Customers" link from the left navigation menu.




Your Customers page

 On "Your customers" page are displayed all customers who belong to the Sales Agents Role.


Account information page
Sales Agent Role have permission to view specific customer info via the "View" button, or can take identity over specific customer via the "Log in as customer" button.


View as customer case




Logged as customer



My Orders page

As soon as the Agent role has specific customer identity, he can place products in the cart, view customer info details, purchase orders.







Uninstall

Automated ways are not available in this version.




Updates


19 June 2017 

  • Stable version release.







Support

Please browse to our FAQ page for more details or contact http://support.b2b-extensions.com.