B2B customer
Restrict a lock to customers who belong to a Shopify B2B company account.
The B2B customer rule checks Shopify’s own native company-account status for the visitor — it’s a genuine platform check against Shopify’s B2B customer flag, not something the app tracks on its own. If a customer is associated with a company account in your store’s B2B setup, this rule recognizes them as a B2B customer automatically.
How it works
Section titled “How it works”The rule reads whether the currently logged-in customer is linked to a Shopify B2B company account. There’s nothing to configure beyond adding the rule and choosing If/Unless — no tag to type, no list to maintain. That also means the rule is only as accurate as your store’s own B2B setup in Shopify: if a wholesale buyer hasn’t been added to a company account in Shopify admin, this rule won’t recognize them as B2B, no matter how you configure it here.
Adding the rule
Section titled “Adding the rule”-
Open the lock you want to protect and click the Unlock rules tab.
-
Add an access rule and choose B2B customer from the Condition type dropdown.

Adding the B2B customer rule — no extra setup needed beyond If/Unless.
-
Choose whether the rule should match If (the customer belongs to a B2B company account) or Unless (the customer does not).
-
Optionally set a per-rule Redirect URL.
-
Save the lock.
Common use: hide retail pricing from non-B2B visitors
Section titled “Common use: hide retail pricing from non-B2B visitors”A typical setup pairs this rule with Hide price and Add to cart:
- On the Lock setup tab, set the content to lock to the products or collection with B2B-only pricing.

Pick the products whose pricing should stay B2B-only.
- Click the Unlock rules tab to continue.
- Add the B2B customer rule, matching If. There’s nothing more to fill in — the app notes “No extra setup needed. This condition uses Shopify B2B customer status.”

The condition heading confirms what you built: If the customer is a B2B customer.
- In the same tab’s right-hand sidebar, under Blocked visitor behavior, leave Hide products from storefront off and pick a hide option from the dropdown instead — so non-B2B visitors see the page without the retail price or buy button, rather than a hard block.

Hide product price and atc keeps the page visible while the pricing stays private.
- Save.
Result on the storefront
Section titled “Result on the storefront”With the example above, customers linked to a Shopify B2B company account see the normal price and buy box. Guests and signed-in retail customers can still browse the product page, but the price and buy buttons are replaced with the configured lock message.

The result of the example: non-B2B visitors can browse the product, but the price and buy buttons are replaced.