B2B Lock | How to allow customers with specific tags to view collections ?
Set up your rule by using a condition requiring sign-in form
Step 1: Lock content
Choose Collection to restrict access
Choose "Lock products in collections" to lock all products within the selected collections.
Choose "Hide product cards and collection cards" to hide products/collections in the product list and collection list.

Step 2: Control access
Set rule If the customer is tagged with

Scroll down to set up Access Denied Message
The Access Denied Message is displayed when a logged-in customer does not meet the required tag conditions.

Scroll down to customize your message with Login form or Sign-up form

Step 3: Advanced settings
Depending on your rule, choose one of these optional settings. If not, press Save to install the rule to your theme.
Wait a second, B2B Lock is being installed to your theme!!
After you save the rule, B2B Lock will usually take about 5-10 seconds to automatically update your theme. A toast will appear when the process is done.
After that, you can click the "Check your store" button to see the results on your storefront. If it doesn't work as expected, please choose "Contact us" — we're happy and always ready to help.

Step 4: Storefront display
When customers come to restricted pages, the login form will be displayed.

Updated on: 09/05/2025
Thank you!