Create a secret collection just for approved B2B customers (with B2B app)

Goal Combine B2B Lock with B2B & Wholesale Solution (B2B app) so that only approved B2B customers can see a special collection.

When to use this recipe

  • You’re using B2B & Wholesale Solution for registration + approval.

  • Approved B2B customers are automatically tagged (e.g., b2b-approved).

  • You want a secret B2B-only collection that retail customers never see.


Step 0 – Before you start

  • Confirm that B2B & Wholesale Solution is set up so approved customers get a tag (e.g. b2b-approved or wholesale).

  • Create (or identify) the B2B-only collection in Shopify (e.g., “B2B Only”, “Wholesale Catalog”).


Step 1 – Lock content

  1. Go to Locks → Add lock.

  2. In Step 1 – Lock content:

    • Name: Secret B2B collection.

    • Target: Hide collections.

    • Select the B2B-only collection.

This ensures the collection is hidden from anyone who doesn’t match the access rules.


Step 2 – Control access

  1. In Step 2 – Control access:

    • Condition: If the customer is tagged with b2b-approved (or whatever tag the B2B app uses).

  2. Optional:

    • Combine with signed-in condition if you want to enforce login as well.

This makes your B2B registration/approval flow the gatekeeper to the secret collection.


Step 3 – Advanced settings

  • Message for blocked users:

    • “This collection is reserved for approved B2B customers. Please apply for a B2B account or log in with your approved email.”

  • Add links:

    • “Apply for B2B account” → registration form from B2B & Wholesale Solution.

    • “Log in” → Shopify login page.

Click Save.


Check your storefront

  • As a guest or normal retail customer → the B2B collection should be invisible in navigation, collection lists, and search.

  • As an approved, tagged B2B customer → after logging in, the collection should appear and function normally.

This setup creates a clean, connected B2B flow across both apps.

Last updated

Was this helpful?