Hide specific products from certain users (product-level)
Goal Hide only selected products from certain customers (or guests), while leaving the rest of the store visible.
When to use this recipe
You have wholesale-only products that retail shoppers shouldn’t see.
You’re piloting a new line with a small group of customers.
You offer special items for VIPs or distributors only.
Step 0 – Before you start
Decide:
Which products you want to hide.
Who should still see them (e.g., tagged customers, logged-in only).
Step 1 – Lock content
Go to Apps → B2B Lock → Locks → Add lock.
In Step 1 – Lock content:
Name the rule:
Hide product X from retail customersChoose Hide products as the target.
Select the specific product(s) you want to hide:
Use search or product picker.
(Screenshot idea: product selector with one or more products checked.)
Step 2 – Control access
Now choose who can see these products.
Examples:
For wholesale-only products:
Condition: If the customer is tagged with
wholesale
For logged-in customers only:
Condition: If the customer is signed in
Steps:
In Step 2 – Control access, add your main condition (e.g., customer tag or signed-in).
Optional: add OR conditions for additional groups (e.g.,
distributortag).
Everyone who does not match the conditions will:
Not see those products in collections or search.
Be blocked from viewing the product detail page directly.
Step 3 – Advanced settings
Fine-tune:
Exclude any edge cases (e.g., test products or staff-only links).
Optionally add a fallback message if a blocked user hits the product URL directly (e.g., “This product is not available for your account”).
Click Save.
Check your storefront
Visit a collection that contains the hidden products as a guest or non-tagged customer:
Hidden products should not appear in the grid.
Log in as a customer matching your condition (e.g., tagged
wholesale):The same collection should now include those products.
Last updated
Was this helpful?