B2B Lock | How can hide specific/ wholesale collections from guest users?
In a B2B (Business-to-Business) store, it’s common that not all products or collections should be visible to every visitor. Sometimes, you may want to keep wholesale-only collections hidden from guest users and only display them to logged-in customers with the right tags or permissions. This helps ensure a clear separation between retail and wholesale customers, protects your pricing strategy, and creates a tailored shopping experience for the right audience.
In this article, we’ll walk you through how to lock or hide specific collections from guest users, so that only approved customers can view and purchase those products.
Step 1: Create a new lock, select Target Lock.
- Select content to lock is Hide collections:
- Choose specific/ wholesale collection and Next
Step 2: Control access and message:
- Choose the rule is If the customer is signed in
- Scroll down to customize your message on Message Login View Page:
Step 3: Advanced settings (Excluded pages):
- 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.
Step 4: Auto-install:
- Choose theme to install code:
- After you install the rule, B2B Lock will usually take about 5-10 seconds to automatically install your theme. A toast will appear when the process is done.
Step 5: Storefront display:
- When a guest customer visits the All Collections page, any collection set up under the Hide Collections rule (e.g., Wholesale Hot Summer) will be hidden from the collections list on your store.
- If a guest customer tries to access the hidden collection page directly, or any product page within that collection, they will be locked out and shown a message prompting them to log in.
👉 With this setup, your store can completely hide wholesale collections from all guest customers (non-logged-in users).
If you have setup both of the above but it's not working properly, feel free to contact our support at support-sbc@bsscommerce.com or via our Live Chat within the app.
Hope this article is clear and helpful. Wish you a cracking day! 😊
By Hill T.
Updated on: 14/10/2025
Thank you!