Importing Catalog Access Restrictions

Adding Restrictions to Products

🚧

B2B - Access Restriction (Products) Must Be Enabled

Columns

🚧

Hierarchy of Restrictions

Restrictions will work in this order: Account Locations, Account, Customer, Customer Group

👍

Multiple Custom Groups on One Row

If you want to comma separate, instead of row separate zb2b_restricted_prod_groups you can go to Products->Settings and set Put Multiselect Values in a Single Row to Yes. Please note that this is a global change for all imports and if you have commas in the values you are importing (i.e. a Customer Group Named "Abc, Def") it will cause issues.

ColumnDescriptionValues
zb2b_product_restrictedIs this product restrictedYes
No or leave blank
zb2b_restricted_prod_groupsIf this product is restricted, then which Customer Group gets full access to it?Customer Group NAME (one per row)
i.e. "Wholesale"
use_child_group_accessWhen you want to restrict some simple variations within a Configurable SKU, set this to Yes.

The Configurable SKU will need to be restricted to all groups who can have access to it.
Yes
No or leave blank
customer_permissionsIf this product is restricted, then which Customer gets full access to it?Customer ID (comma separated)
account_permissionsIf this product is restricted, then which Account gets full access to itAccount ID (comma separated)
account_location_permissionsIf this product is restricted, then which Account Location gets full access to itAccount Location ID (comma separated)

Sample

For multiple customer groups, put one per row, example below

432

In this case SKU ABC123 will be restricted to the "Wholesale" and "B2B Group" and SKU DEF456 will be restricted to "Group 1" and "Wholesale"

Import

Import from *Products Importer** - with Import Behavior select "Append".

Adding Allowed Products to Accounts and Contact Customers

Adding Products to Accounts and their Locations

ColumnDescriptionValues
account_idAccount ID17
account_products_allowedSKUs (comma separated)ABC123,DEF456
location_idLocation ID1172
location_products_allowedSKUs (comma separated)GHI789,JKL012

Import

Import from *Customers > Accounts Importer** -with Import Behavior select "Append".

Adding Allowed Products to Contacts

ColumnDescriptionValues
emailemail address of the contact[email protected]
products_allowedSKUs (comma separated)ABC123,DEF456

Import

Import from *Customers > Contacts Importer** -with Import Behavior select "Append".