...
D. User permissions and adding the Customer Community Plus License:
Setting up Buyer User:
There are a couple of steps that need to be taken in order for products to be properly viewed by the user.
Code Block |
---|
1. Create Account. The user that creates the Account should have a Role specified that has the proper permissions. |
...
2. Create Contact. Use the created account for the contact you are about to create. |
...
3. Go to the contact you created on the right dropdown arrow select 'Enable Customer User' |
...
4. Select User License -> 'Customer Community Plus'. |
...
Profile => 'HWSBuyerUserProfile' |
Now that we have set up the user we need to adjust some configurations in the B2B Commerce.
Code Block |
---|
1. Go to Commerce -> Buyer Groups from the top dropdown |
...
2. Create a new Buyer Group |
...
3. In 'Related' Tab of the Buyer Group under Buyer Group Members assign the Account you created |
...
4. Under Stores - assign your B2B Commerce Store |
At this point the user will be able to login to the store but
...
he won't be having access to view any of the products.
...
We need to create now Commerce Entitlement Policy. The Entitlement Policies configure which products can be accessed by a specific Buyer Group.
Code Block |
---|
1. In Commerce in the dropdown select 'Entitlement Policies' |
...
2. Create new Entitlement Policy |
...
3. Go to your newly created Entitlement Policy and click on 'Related Tab' |
...
4. Add the Buyer Group you have just created under Buyer Groups and all the products that you want this buyer group to have access to under 'Products' |
Follow this guide for package installation - Package Installation