Importing Catalog Access Restrictions
Adding Restrictions to Products
B2B - Access Restriction (Products) Must Be Enabled
Columns
Hierarchy of RestrictionsRestrictions will work in this order: Account Locations, Account, Customer, Customer Group
Multiple Custom Groups on One RowIf 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.
Column | Description | Values |
|---|---|---|
zb2b_product_restricted | Is this product restricted | Yes |
zb2b_restricted_prod_groups | If this product is restricted, then which Customer Group gets full access to it? | Customer Group NAME (one per row) |
use_child_group_access | When 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 |
customer_permissions | If this product is restricted, then which Customer gets full access to it? | Customer ID (comma separated) |
account_permissions | If this product is restricted, then which Account gets full access to it | Account ID (comma separated) |
account_location_permissions | If this product is restricted, then which Account Location gets full access to it | Account Location ID (comma separated) |
Sample
For multiple customer groups, put one per row, example below

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
| Column | Description | Values |
|---|---|---|
| account_id | Account ID | 17 |
| account_products_allowed | SKUs (comma separated) | ABC123,DEF456 |
| location_id | Location ID | 1172 |
| location_products_allowed | SKUs (comma separated) | GHI789,JKL012 |
Import
Import from *Customers > Accounts Importer** -with Import Behavior select "Append".
Adding Allowed Products to Contacts
| Column | Description | Values |
|---|---|---|
| email address of the contact | [email protected] | |
| products_allowed | SKUs (comma separated) | ABC123,DEF456 |
Import
Import from *Customers > Contacts Importer** -with Import Behavior select "Append".

Updated 7 months ago
