-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b17bb0
commit 50c47da
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# magento2-b2b | ||
|
||
Restrict access to a website for a group of customers | ||
|
||
## Getting Started | ||
|
||
If you don't already have a multi-websites Magento, you first you need to create a new website (admin->stores). | ||
Then install the module from Composer (the module is listed in Packagist), or clone it from Github. | ||
You'll have a new "B2B" tab in the configuration page, where you'll be able to select a website and a group of customers (a "wholesale" groupe for example). | ||
|
||
Save it, and it's done! The website selected is now accessible only by the customers from the selected group of customers. | ||
If the user is not identified and try to access the website, he'll be redirected to the login form. If, after loggin, it doesn't belong | ||
to the corrected group, he'll be redirected to the default website. |