> 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/lock-content-targets.md).

# Lock Content (Targets)

B2B Lock gives you full control over who sees your prices, products, variants, pages, or the entire store. This guide walks you through choosing the right content target in Step 1.

**Step 1 — Lock Target** is where you choose what to lock before defining who can access it in the next steps.

This guide covers all core content targets available in BSS B2B Lock, helps you pick the right one for your business model, and walks you through configuration.

{% hint style="info" %}
**Quick Recommendation**:

* **Wholesale or B2B-only store?** Start with **Entire store**.
* **Serving both retail and wholesale customers?** Use **Price and add to cart** or **Products** so your catalog stays visible to everyone — but only approved buyers see pricing or restricted items.
  {% endhint %}

***

### On This Page

1. [Eligibility Requirements](#eligibility-requirements)
2. [Understanding Step 1 — Lock Target](#understanding-step-1--lock-target)
3. [Availability & Limitations Matrix](#availability--limitations-matrix)
4. [The 7 Core Content Targets](#the-7-core-content-targets)
   * [1. Entire store](#1-entire-store)
   * [2. Price and add to cart](#2-price-and-add-to-cart)
   * [3. Products](#3-products)
   * [4. Collections](#4-collections)
   * [5. Variants](#5-variants)
   * [6. Pages, blogs and URLs](#6-pages-blogs-and-urls)
   * [7. Sections, blocks, and snippets](#7-sections-blocks-and-snippets)
5. [Additional Granular Controls (Buy It Now & Navigation Menu)](#additional-granular-controls-buy-it-now--navigation-menu)
6. [How to Configure Step 1](#how-to-configure-step-1)
7. [Common Issues & Troubleshooting](#common-issues--troubleshooting)

***

## Eligibility Requirements

Before setting up a lock rule, confirm the following:

* You have an active Shopify store on any paid plan.
* BSS 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 recommended).

{% hint style="warning" %}
**Theme Compatibility**: If you are on a legacy (non-2.0) theme, the auto-cleanup of empty product grid slots may require minor theme adjustments. Contact B2B Lock support to confirm compatibility before going live.
{% endhint %}

***

## Understanding Step 1 — Lock Target

BSS B2B Lock works in three simple steps:

1. **Step 1 — Lock Target:** Choose what to protect (this guide).
2. **Step 2 — Access & Message:** Define who can unlock the content (user type, passcode, date & time, email, location, URL parameter, and more). See [Control Access](/bss-b2b-lock-login-password-hide-price/lock-core-concepts/control-access-access-and-message.md).
3. **Step 3 — Exclude Pages:** Keep selected pages or products unlocked, and set SEO and page-display options for page locks. See [Exclude Pages & Lock Message](/bss-b2b-lock-login-password-hide-price/lock-core-concepts/lock-page-settings.md).

In Step 1, you pick the target to restrict. Everything else (access rules, the lock message, exclusions) is configured in the next steps and in the **Preview** card on the right.

***

## Availability & Limitations Matrix

| Content Target                     |  All Plans  | Notes                                                                                                   |
| ---------------------------------- | :---------: | ------------------------------------------------------------------------------------------------------- |
| **Entire store**                   | ✅ Supported | Full storefront gating; exclusions configured in Step 3                                                 |
| **Price and add to cart**          | ✅ Supported | Hide price, Add to cart, or both; includes **Hide price on Google search** and specific variant scoping |
| **Products**                       | ✅ Supported | **Fully Hide Product** or **Only lock product page**; auto-cleans empty grid slots                      |
| **Collections**                    | ✅ Supported | 4 visibility settings for collection cards, product cards, product pages and the navigation menu        |
| **Variants**                       | ✅ Supported | Variants matching an option value are hidden; product stays visible                                     |
| **Pages, blogs and URLs**          | ✅ Supported | CMS pages, blog posts and custom URLs                                                                   |
| **Sections, blocks, and snippets** | ✅ Supported | Native theme sections/blocks or custom CSS selectors                                                    |

{% hint style="success" %}
**Multiple Rules**: You can create multiple lock rules to protect different parts of your store simultaneously. Each rule runs independently with its own target and conditions.
{% endhint %}

***

## The 7 Core Content Targets

In the **Lock Target** card, open the **What do you want to lock?** dropdown and pick one of the 7 targets. An illustration below the dropdown shows the target you selected.

<figure><img src="https://684288492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJh4ZJQcYHPWkPeDOGrHj%2Fuploads%2Fgit-blob-de45dce2909d3223eee8c318a1aa5e554a4709e3%2Fstep1-lock-target-dropdown-options.png?alt=media" alt="What do you want to lock? dropdown open with the 7 lock targets highlighted"><figcaption><p>Pick one of the 7 lock targets from the What do you want to lock? dropdown.</p></figcaption></figure>

### 1. Entire store

*Full private storefront gating*

* **Best for:**
  * Wholesale-only or private B2B stores that should not be publicly accessible.
  * Exclusive partner or distributor portals.
  * Internal or staging stores restricted to staff only.
* **How it works:**
  * All storefront pages are gated: homepage, collections, products, and standard CMS pages.
  * Blocked visitors see your lock message instead of storefront content.
  * Keep specific pages public (e.g. the home page, customer areas, policy pages, or pages such as *Contact Us*) in **Step 3 — Exclude Pages**.

***

### 2. Price and add to cart

*Browse catalog freely, buy only if approved*

* **Best for:**
  * Hybrid B2B/B2C stores where anyone can browse catalog items, but only approved buyers see wholesale pricing.
  * Contract or wholesale pricing that must not appear publicly.
  * Compliance scenarios where prices should only be visible to specific regions or tagged customer segments.
* **Which products to restrict?** Under **Restricted products**, choose **All product**, **By tags**, **By collections**, **Specific products**, or **Specific variants**.

<figure><img src="https://684288492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJh4ZJQcYHPWkPeDOGrHj%2Fuploads%2Fgit-blob-365bcd275fe1dba1430d43994e34baae10236dc5%2Fstep1-price-restricted-products-scope.png?alt=media" alt="Restricted products dropdown showing All product, By tags, By collections, Specific products and Specific variants"><figcaption><p>Choose which products the price rule applies to.</p></figcaption></figure>

* **What do you want to hide?**
  * **Hide price** — hides the price across collection grids and product pages. Then choose what happens to the button:
    * **Disable Add to cart** — "Still visible – can't be clicked."
    * **Hide Add to cart** — "Completely invisible."
  * **Keep price visible, hide Add to cart** — "Price stays visible; only the button is removed."
* **Search visibility:** Tick **Hide price on Google search** to keep prices out of Google results. Your store must be public, and Google can take up to 24 hours to re-index.
* **Specific variants:** Select **Specific variants** to hide the price of individual SKUs, then use **Search specific variants** to pick them. The **What do you want to hide?** options are not shown for specific variants.
* **Lock message:** The text shown in place of the price (e.g. *"Login to see wholesale price"*) is edited from the **Preview** card → **Customize message**. See [Customizing the lock message](/bss-b2b-lock-login-password-hide-price/lock-core-concepts/lock-page-settings.md#customizing-the-lock-message).

<figure><img src="https://684288492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJh4ZJQcYHPWkPeDOGrHj%2Fuploads%2Fgit-blob-4d530868f8bd02caac149617e41968b8a8dd6c92%2Fstep1-price-hide-options.png?alt=media" alt="Price and add to cart target with the What do you want to hide? options and the Hide price on Google search checkbox highlighted"><figcaption><p>Choose what to hide, and optionally hide prices from Google search.</p></figcaption></figure>

***

### 3. Products

*Hide specific products or lock their product pages*

* **Best for:**
  * Wholesale-only products that should never appear to retail shoppers.
  * Items in a VIP or exclusive catalog reserved for specific customer tag tiers.
* **Which products to restrict?** Under **Restricted products**, choose **All product**, **By tags**, **By collections**, or **Specific products**. With **Specific products**, search or open the **Select products** picker; selected products are listed with a **×** button to remove each one, or **Clear all**.
* **Product Visibility Control:**
  * **Fully Hide Product** — "Completely removed from storefront (no trace in collections, search, or product page)." B2B Lock auto-cleans empty grid slots so your collection layout stays seamless without gaps.
  * **Only lock product page** — "Product stays visible everywhere, but the product page shows "Access Denied.""
* **Search visibility:** Tick **Hide price on Google search** to keep these products' prices out of Google results.
* **Hide from navigation menu** (ticked by default) — hides links to these products when they appear in your navigation menu. It applies to both visibility modes.
* In Step 2, define which customers (by user type, passcode, or other conditions) can view these items.

<figure><img src="https://684288492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJh4ZJQcYHPWkPeDOGrHj%2Fuploads%2Fgit-blob-18b9cfd405f1ba29861d48955aa0f130a7e645f7%2Fstep1-products-fully-hide.png?alt=media" alt="Products target with Product Visibility Control set to Fully Hide Product and the Hide from navigation menu checkbox highlighted"><figcaption><p>Choose Fully Hide Product or Only lock product page, and whether to hide the products from the navigation menu.</p></figcaption></figure>

{% hint style="info" %}
**Price and add to cart vs. Products**:

* Use **Price and add to cart** when you want visitors to discover products but restrict pricing to approved buyers.
* Use **Products** → **Fully Hide Product** when unauthorized visitors should not know those items exist at all.
* Use **Products** → **Only lock product page** when products can stay in listings but the product page must stay private.
  {% endhint %}

***

### 4. Collections

*Control how locked collections and their products appear to blocked visitors*

* **Best for:**
  * Channel-specific collections (e.g. *Distributor Catalog*, *VIP Members Collection*).
  * Seasonal, trade-only, or regional product lines.
* **Which collections to restrict?** Choose **All** or **Specific**. With **Specific**, search or open the **Select collections** picker.
* **Visibility settings** (all 4 are ticked by default):
  * **Hide collection cards**
  * **Hide product cards**
  * **Hide product pages**
  * **Hide from navigation menu**
* Untick any setting to keep that part visible. Collections works independently from Products; you can stack both in the same store.

<figure><img src="https://684288492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJh4ZJQcYHPWkPeDOGrHj%2Fuploads%2Fgit-blob-e01d6bc88bac30d35f84c402178a244b4560a5e8%2Fstep1-collections-visibility-settings.png?alt=media" alt="Collections target with All and Specific options and the four Visibility settings checkboxes, all ticked"><figcaption><p>Choose the collections, then decide which parts to hide with the Visibility settings.</p></figcaption></figure>

***

### 5. Variants

*Hide specific product options from certain customers*

* **Best for:**
  * Products with wholesale-only pack sizes (e.g. Bulk Case of 50 vs Single Unit) that retail buyers should not see.
  * Regional variant configurations or trade-only finishes.
* **How it works:**
  * The main product page remains visible to all visitors.
  * Under **Restricted variants**, set the variant option to match, e.g. hide all variants where *"Size"* equals *"XL"*. Use **Search variant options** to find an option.
  * Only the matching variant options are removed from the variant selector.
  * Approved buyers see all variants and can purchase freely.
  * To hide only the **price** of specific variants, use **Price and add to cart** → **Specific variants** instead.

{% hint style="warning" %}
Locking variants does not support age verification, email subscriptions, or secret link access.
{% endhint %}

<figure><img src="https://684288492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJh4ZJQcYHPWkPeDOGrHj%2Fuploads%2Fgit-blob-4eef7d4a717349cfb5b6755e7f41d6613a8ca231%2Fstep1-variants.png?alt=media" alt="Variants target showing the Restricted variants warning and the Variant options field"><figcaption><p>Hide all variants that match an option value.</p></figcaption></figure>

***

### 6. Pages, blogs and URLs

*Gate specific non-product content*

* **Best for:**
  * Wholesale trade pages, distributor order forms, or PDF price sheets.
  * Private partner libraries, technical manuals, or VIP marketing landing pages.
* **How it works:**
  * Under **Select content type to lock**, choose **Page**, **Blog**, or **URL**.
  * **Page** → **Restricted pages**: **All pages** or **Specific pages**.
  * **Blog** → **Restricted blogs**: **All blogs** or **Specific blogs**.
  * **URL** → **Restricted URLs**: type a path (e.g. `/collections/secret-sale-2025`) and click **Add**.
  * Only the selected pages, blogs or URLs are locked — the rest of your storefront stays open.

<figure><img src="https://684288492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJh4ZJQcYHPWkPeDOGrHj%2Fuploads%2Fgit-blob-fc4cf22ffbe2bf9a3808f70808cd0ca519227e6e%2Fstep1-pages-blogs-urls.png?alt=media" alt="Pages, blogs and URLs target with the Page, Blog and URL content type options highlighted"><figcaption><p>Choose the content type to lock: Page, Blog or URL.</p></figcaption></figure>

***

### 7. Sections, blocks, and snippets

*Element-level storefront gating*

* **Best for:**
  * Selectively hiding wholesale banners, tiered pricing tables, RFQ inquiry forms, or review widgets without locking the full page.
* **How it works:**
  * **Native Section/Block:** Select theme sections or blocks identified directly from your active theme.
  * **Custom CSS Selector:** Target any HTML element by class name (`.wholesale-banner`) or element ID (`#rfq-form`).
  * **Custom Fallback Message:** Replace hidden elements with a custom notice to maintain visual balance.
  * For full step-by-step instructions, see [Hide Page Sections & Blocks Conditionally](/bss-b2b-lock-login-password-hide-price/lock-core-concepts/goal-based-guides-i-want-to.../hide-page-sections-and-blocks-conditionally.md).

***

## Additional Granular Controls (Buy It Now & Navigation Menu)

* **Hide Buy It Now (Dynamic Checkout):** Removes 1-click accelerated checkout buttons from PDPs, ensuring wholesale customers proceed through the standard cart and checkout validation flow.
* **Hide from navigation menu:** On the **Products** and **Collections** targets, this checkbox (ticked by default) hides menu links to the locked products or collections from visitors who do not meet your access rules.

***

## How to Configure Step 1

1. Go to **Shopify Admin → Apps → BSS B2B Lock → Locks**.
2. Click **Add lock rule**, pick a preset in **Start with a preset** (or **Create my own lock**), and click **Continue**.
3. In the **General Information** card, enter a **Lock name** (e.g., *"Wholesale Pricing Gate"*). The name is required.

<figure><img src="https://684288492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJh4ZJQcYHPWkPeDOGrHj%2Fuploads%2Fgit-blob-084e6f9caf4e62e1d2bfbedfe31d97ccd0f74385%2Fstep1-rule-name-required.png?alt=media" alt="Lock name field with the error Rule name is required"><figcaption><p>If Lock name is empty, Next shows “Rule name is required”.</p></figcaption></figure>

4. Set **Status** to **Enable** if you want the rule to go live as soon as you save it.
5. In the **Lock Target** card, open **What do you want to lock?** and pick your target.
6. Refine your scope:
   * **Price and add to cart:** Choose the restricted products (all, by tags, by collections, specific products, or specific variants) and what to hide.
   * **Products:** Choose the restricted products and the **Product Visibility Control** mode.
   * **Collections:** Choose all or specific collections and the **Visibility settings**.
   * **Variants:** Set the variant option to match.
   * **Pages, blogs and URLs:** Choose the content type, then the pages, blogs or URL paths.
7. Click **Next** to proceed to **Step 2 — Access & Message**.

The **Summary** card on the right shows your Lock Target choice (e.g. *"Applies to all products"*, *"2 products"*). Each step shows a ✓ in the stepper once it is done.

***

## Common Issues & Troubleshooting

### Prices are still visible after setting up Hide price

* Confirm the rule Status is **Enabled** in the **Lock list**.
* Verify the product is included in the rule scope in Step 1.
* Clear browser cache and test in a fresh **Incognito window**.

### Products or collections are still appearing for blocked visitors

* Verify the target is **Products** or **Collections** (not **Price and add to cart**).
* For **Products**, confirm **Fully Hide Product** is selected — **Only lock product page** keeps products visible in listings.
* For **Collections**, confirm **Hide collection cards** and **Hide product cards** are ticked in **Visibility settings**.
* Confirm the specific items are selected in the rule scope.
* Verify that the access rule in Step 2 is correctly configured.

### A locked page is still accessible

* Confirm the exact page or URL is selected in Step 1.
* Confirm the page is not ticked in **Step 3 — Exclude Pages**.
* Check if a Shopify Admin URL redirect is bypassing the locked handle.
* Test in an Incognito window to rule out an existing logged-in session.

***

## **Still Need Help?**

If you have questions or need assistance configuring BSS B2B Lock, our dedicated support team is here to help.

* **In-App Assistance:** Click **Need help?** or use the in-app chat button within BSS B2B Lock.
* **Email Support:** Contact us at [**support-sbc@bsscommerce.com**](mailto:support-sbc@bsscommerce.com) with your store URL and specific rule details.
