> For the complete documentation index, see [llms.txt](https://docs-shpf.bsscommerce.com/bss-b2b-lock-login-password-hide-price/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-shpf.bsscommerce.com/bss-b2b-lock-login-password-hide-price/lock-core-concepts/goal-based-guides-i-want-to.../hide-specific-products-from-certain-users-product-level.md).

# Hide specific products from certain users (product-level)

This guide walks you through every step: choosing which products to hide, who can still see them, and how to verify it works. Availability may vary depending on your Shopify plan and store setup.

| <p><strong>Best Practice</strong></p><p>Be clear about your goal before you start: do you want to fully remove the product from the storefront (no trace anywhere), or just block the product page while keeping it visible in listings? B2B Lock supports both modes — you choose in Step 1.</p> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

### **On This Page**

1. [Eligibility Requirements](#eligibility-requirements)
2. [Understanding the Hide Products Feature](#understanding-the-hide-products-feature)
3. [Availability & Limitations](#availability-and-limitations)
4. [Hide Products Steps](#hide-products-steps)
5. [Verify It Works on Your Storefront](#verify-it-works-on-your-storefront)
6. [Common Issues & Troubleshooting ](#common-issues-and-troubleshooting)

## **Eligibility Requirements**

Before setting up a Hide Products rule, confirm the following:

* You have an active Shopify store on any paid plan.
* B2B Lock is installed from the Shopify App Store.
* You have Editor or Admin access in your Shopify store.
* Your store uses a compatible theme — Online Store 2.0 is recommended.
* For tag-based access: customer tags must already be set up on your Shopify customer records.

| <p><strong>⚠️  Legacy Theme Note</strong></p><p>On non-2.0 themes, the automatic cleanup of empty product grid slots may not render correctly. Test on a staging store or contact B2B Lock support before going live.</p> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

## **Understanding the Hide Products Feature**

Hide Products removes selected items from your storefront entirely for visitors who don't meet your conditions — no product card, no search result, no product page. This is different from Hide Price, where the product stays visible but the price is hidden.

| **Mode**           | **What blocked visitors see**                                       | **Best for**                                               |
| ------------------ | ------------------------------------------------------------------- | ---------------------------------------------------------- |
| Fully Hide Product | No trace anywhere — not in collections, search, or direct URL       | Wholesale-only items, secret catalogs                      |
| Restrict Access    | Product visible in listings, but product page shows 'Access Denied' | Items discoverable but purchasable by approved buyers only |

| <p><strong>Hide Products vs. Hide Price</strong></p><p>Use Hide Price when everyone can see the product but only approved buyers see its price. Use Hide Products when certain customers should not know the item exists at all.</p> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |

## **Availability & Limitations**

| **Item**          | **Details**                                                                |
| ----------------- | -------------------------------------------------------------------------- |
| Shopify plan      | Any paid plan (Basic and above)                                            |
| Theme             | Online Store 2.0 recommended; legacy themes may show empty grid slots      |
| Access conditions | Login, tags, passcode, secret link, email, date/time, location, and more   |
| AND / OR logic    | Supported — combine multiple conditions in one rule                        |
| Google Search     | Hidden products may still appear on Google for up to 24 hours after saving |

### **Step 1 — Lock Target: Choose Hide Products**

<figure><img src="/files/bNi7zeMDfngikXQPe5fe" alt="Step 1 — Select content to lock. Choose the Hide Products card."><figcaption><p>Step 1 — Select content to lock. Choose the Hide Products card</p></figcaption></figure>

| **Step 1  Lock Target — Select Hide Products and configure product scope**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p><strong>1.</strong> Go to your Shopify Admin.</p><p><strong>2.</strong> Click <strong>Apps</strong> in the left sidebar.</p><p><strong>3.</strong> Select <strong>B2B Lock</strong> from your installed apps.</p><p><strong>4.</strong> Click <strong>Locks</strong> → <strong>Add lock</strong>.</p><p><strong>5.</strong> In the <strong>Lock name</strong> field, enter a clear name — e.g., Hide wholesale products from retail.</p><p><strong>6.</strong> Confirm the <strong>On/Off toggle</strong> is set to Enabled.</p><p><strong>7.</strong> Under <strong>Select content to lock</strong>, click the <strong>Hide Products</strong> card.</p><p><strong>In the Choose specific content section (see screenshot below):</strong></p><p><strong>8.</strong> Under <strong>Product Visibility Control</strong>, select your visibility mode:</p><p>• Fully Hide Product — product is completely removed from storefront (recommended for wholesale-only items).</p><p>• Restrict Access — product page shows 'Access Denied' but product card still appears in listings.</p><p><strong>9.</strong> Under <strong>Restricted products</strong>, open the dropdown and select <strong>Specific products</strong> (or All products if applicable).</p><p><strong>10.</strong> Use the <strong>Search product</strong> field to find and select the products you want to hide.</p><p><strong>11.</strong> Under <strong>Product settings</strong>, optionally check <strong>Hide price on Google search</strong> to prevent prices from appearing in search results.</p><p><strong>Note:</strong> Google re-indexing can take up to 24 hours. Your store must be public for this setting to apply.</p><p><strong>12.</strong> Click <strong>Next</strong> to proceed to Step 2.</p> |

<figure><img src="/files/EtNDC5jKacqBN5lshora" alt="Choose specific content — Product Visibility Control, product picker, and Product settings. "><figcaption><p>Choose specific content — Product Visibility Control, product picker, and Product settings. </p></figcaption></figure>

### **Step 2 — Access & Message: Define Who Can Still See the Products**

This is where you set the conditions that grant access. The order in which B2B Lock evaluates rules is: Everyone → Secret Link → Passcode → Sign-In → Age Verification → Email Subscription → Date & Time → Market → Tag / Specific Customers → Custom Liquid → Specific IP → Specific Region.

<figure><img src="/files/0ZgjncZyckPy4Qq1hzIn" alt="Step 2 — Access &#x26; Message. Select Grant Access To and choose your condition from the dropdown."><figcaption><p>Step 2 — Access &#x26; Message. Select Grant Access To and choose your condition from the dropdown.</p></figcaption></figure>

| **Step 2  Access & Message — Choose your access condition**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| <p><strong>13.</strong> In the <strong>Rule to access</strong> section, click <strong>Grant Access To</strong>.</p><p><strong>14.</strong> Select a condition type from the six category tiles: <strong>User type, Passcode, Email, Date & time, Location,</strong> or <strong>Advanced</strong>.</p><p><strong>15.</strong> In the <strong>Select access rule</strong> dropdown, choose your specific rule:</p><p>• Everyone – No restrictions (use as a fallback for public content).</p><p>• Signed-in customers – Must be logged in.</p><p>• Tagged customers – Must have specific tags (e.g., wholesale, b2b-approved, distributor).</p><p>• Specific customers – Must match exact email address.</p><p><strong>16.</strong> If using customer tags: enter the tag(s) in the tag field — e.g., <strong>wholesale</strong> or <strong>vip-partner</strong>.</p><p><strong>17.</strong> Optional: check <strong>Reverse access rule</strong> to invert the logic (e.g., block tagged customers instead of allowing them).</p><p><strong>18.</strong> Optional: click <strong>+ Add rule</strong> to add an OR condition — for example, allow distributors OR allow visitors arriving via secret link.</p><p><strong>Note:</strong> Visitors who don't meet any condition will not see the hidden products anywhere on your storefront.</p><p><strong>19.</strong> Set your <strong>lock message</strong> — this is what blocked visitors see if they arrive at the product URL directly. Include a login link or instructions to request access.</p><p><strong>20.</strong> Click <strong>Next</strong> to proceed to Step 3.</p> |

#### **Common access condition combinations**

| **Goal**                 | **Condition**                | **Example tag / setting**              |
| ------------------------ | ---------------------------- | -------------------------------------- |
| Wholesale customers only | Tagged customers             | wholesale or b2b-approved              |
| Logged-in customers only | Signed-in customers          | (no tag needed)                        |
| VIP segment only         | Tagged customers             | vip or gold-tier                       |
| Regional distributors    | Tagged customers + Location  | eu-distributor + EU region             |
| Invited partners only    | Secret link                  | (generate secret URL to share)         |
| Logged-in wholesalers    | Sign-in AND tagged customers | Must be logged in AND tagged wholesale |

### **Step 3 — Exclude Pages (Optional)**

Use this step to add exceptions — pages or URLs that should bypass the lock even if they relate to hidden products.

| **Step 3  Exclude Pages — Add exceptions to the rule**                                                                                                                                                                                                                                                                                                                       |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>21.</strong> In the <strong>Exclude Pages</strong> section, add any URLs that should remain accessible regardless of the lock.</p><p><strong>22.</strong> Common examples: a staff preview link, a test product URL, or a public lookbook page that references a hidden product.</p><p><strong>23.</strong> Click <strong>Save</strong> to activate the rule.</p> |

| <p><strong>✅  Save to activate</strong></p><p>The rule does not apply to your live storefront until you click Save. You can return to any step to make changes before saving.</p> |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

## **Verify It Works on Your Storefront**

Test in Incognito mode after saving the rule. Use the checklist below.

| **Test as**                         | **Action**                                  | **Expected result**                                         |
| ----------------------------------- | ------------------------------------------- | ----------------------------------------------------------- |
| Blocked visitor (guest)             | Browse to a collection with hidden products | Hidden products do not appear in the grid                   |
| Blocked visitor (guest)             | Visit the product URL directly              | Lock message or Access Denied screen — not the product page |
| Approved visitor (tagged/logged-in) | Browse the same collection                  | Hidden products are now visible                             |
| Approved visitor (tagged/logged-in) | Click through to the product page           | Page loads normally with price and Add to Cart              |

| <p><strong>ℹ️  Cache tip</strong></p><p>If results look wrong, clear your browser cache and reload. Shopify may serve cached pages for a few minutes after a rule is saved.</p> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

## **Common Issues & Troubleshooting**

| **Issue**                                  | **What to check**                                                                                                             |
| ------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------- |
| Products still visible to blocked visitors | Rule Status must be Enable → correct products selected in picker → test in Incognito                                          |
| Approved customers can't see the products  | Check customer tag in Shopify Admin → confirm tag name matches exactly (case-sensitive) → check Reverse access rule is not on |
| Empty slots in collection grid             | Theme compatibility issue — switch to Online Store 2.0 or contact support                                                     |
| Products still showing on Google           | Google takes up to 24 hours to re-index → enable Hide price on Google in Product settings → store must be public              |
| Unintended products are being hidden       | Go back to Step 1 → switch from All products to Specific products → check for other active rules overlapping                  |

| <p><strong>Need more help?</strong></p><p>If your issue is not listed here, use the Chat Support button inside the B2B Lock app. The support team typically responds within 12 hours. Include your store URL, the lock rule name, and a description of what you are seeing.</p> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs-shpf.bsscommerce.com/bss-b2b-lock-login-password-hide-price/lock-core-concepts/goal-based-guides-i-want-to.../hide-specific-products-from-certain-users-product-level.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
