> 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-prices-from-guest-users.md).

# Hide prices from guest users

The Hide Prices feature in BSS B2B Lock lets you conceal product prices from visitors who are not logged in.

Shoppers will see your products and collections, but prices — and optionally the Add to Cart button — remain hidden until they sign in.

On the app's **Pricing** page, **Hide products, pages & prices** is listed as a benefit of the paid plans (**Basic Shopify**, **Grow Shopify**, **Advanced Shopify**, **Shopify Plus**). The **Free** plan lists **Lock the entire website with robust conditions**.

{% hint style="success" %}
**✅ Best Practice: Pair with a login prompt message**

Always set a clear, friendly message (Preview → **Customize message**) that tells guest visitors why prices are hidden

and how to log in. This reduces confusion and improves conversion.

Example: "Log in to your wholesale account to see exclusive pricing."
{% endhint %}

### **On This Page**

1. [Eligibility requirements](#eligibility-requirements)
2. [Understanding Hide Prices](#understanding-hide-prices)
3. [Availability & limitations](#understanding-hide-prices)
4. [Lock Target and Content](#lock-target-and-content)
5. [Troubleshooting common issues](#troubleshooting-common-issues)

## **Eligibility Requirements**

Before you start, make sure your setup meets these requirements:

* You have the BSS B2B Lock app installed on your Shopify store.
* Your Shopify store is published and accessible to visitors.
* Customer accounts are enabled in your Shopify settings (required for login-based access).
* You have at least one active Online Store sales channel.

## **Understanding Hide Prices**

#### **What it is**

Hide Prices is a lock rule that prevents guest (not logged-in) visitors from seeing product prices on your storefront. You choose whether to hide prices only, or also hide the Add to Cart button.

#### **What you can do**

* Hide prices across your entire store, or on selected products/collections only.
* Show a placeholder message or login prompt where the price used to appear.
* Disable or fully hide the Add to Cart button for guest users.
* Optionally hide prices from Google search result snippets.

#### **Where it applies**

• Product pages

• Collection pages

• Search results on your storefront

• Featured product sections on your home page

### **Availability & Limitations**

This table follows **Compare all features** on the app's **Pricing** page (**View Pricing Details**):

| **Feature**                                                        | **Free** | **Basic Shopify / Grow Shopify / Advanced Shopify / Shopify Plus** |
| ------------------------------------------------------------------ | -------- | ------------------------------------------------------------------ |
| Lock Entire website                                                | Yes      | Yes                                                                |
| Lock Product / Lock Collection / Lock Blog / Lock Urls / Lock Page | No       | Yes                                                                |
| Specific Variant / Variant option                                  | No       | Yes                                                                |
| Checkout locks                                                     | Yes      | Yes                                                                |
| Passcode request                                                   | No       | Yes                                                                |

The paid plans also list **Hide products, pages & prices**, **Lock access by URL or customer tags**, **Custom message with login/sign-up form** and **Manage passcodes & track analytics**. The paid plan that applies depends on your Shopify plan.

{% hint style="info" %}
**⚠️ Known limitation: Google re-indexing takes time**

If you enable 'Hide price on Google search', updates can take up to 24 hours

for Google to re-index. Your store must be public (not password-protected) for this to work.
{% endhint %}

Checkout locks and cart-level restrictions are managed separately under Checkout Locks in the app sidebar.

## **Lock Target and Content**

### **Step 1 — Lock Target: Choose What to Hide and Where**

This step tells the app what to hide and where, including how prices and the Add to Cart button behave for guests.

1\. Go to your Shopify Admin and open the **BSS B2B Lock** app.

2\. Click **Locks** in the left sidebar, then click **Add lock rule**.

3\. In the **Start with a preset** modal, select **Create my own lock** (or **Require login to view prices** to start from a ready-made setup), then click **Continue**.

4\. In **General Information**, enter a **Lock name** and confirm **Status** is set to **Enable**.

5\. Under **Lock Target**, open the **What do you want to lock?** dropdown and select **Price and add to cart**.

<figure><img src="https://684288492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJh4ZJQcYHPWkPeDOGrHj%2Fuploads%2Fgit-blob-144db014581b8a905c68aa41424c908ff58b9d34%2Fstep1-overview-general-target.png?alt=media" alt="Step 1 Lock Target: General Information, the What do you want to lock? dropdown and the Summary card"><figcaption><p>Image 1: Step 1 — Lock Target. Name the lock and select Price and add to cart</p></figcaption></figure>

6\. Under **Which products to restrict?**, open **Restricted products** and choose:

• **All product** — hides prices across the entire store, or

• **By tags**, **By collections**, **Specific products** or **Specific variants** — select which items to restrict. With **Specific variants**, the **What do you want to hide?** and **Search visibility** options below are not shown.

7\. Under **What do you want to hide?**, choose:

* **Hide price**, then pick one sub-option:
  * **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."

8\. Under **Search visibility**, decide whether to check **Hide price on Google search**.

<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="What do you want to hide? options and the Hide price on Google search checkbox"><figcaption><p>Image 2: What do you want to hide? — price and Add to cart options, plus Search visibility</p></figcaption></figure>

{% hint style="info" %}
**⚠️ Before enabling 'Hide price on Google search'**

Your store must be publicly accessible (not password-protected).

Changes take up to 24 hours to reflect in Google search results.
{% endhint %}

{% hint style="info" %}
**⚠️ Note**

Each rule has one lock target. You cannot combine **Entire store** and **Price and add to cart** in the same rule.

Create separate lock rules for different lock targets.
{% endhint %}

9\. Click **Next** to continue.

### **Step 2 — Access & Message: Choose Who Can See Prices**

This step sets who is allowed to see prices after logging in.

10\. In **Rule 1**, click the **User type** condition chip.

11\. Open the **Select access rule** dropdown and choose one of the following:

| **Access rule**                             | **What it means**                                                                                                                            |
| ------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Everyone - No restrictions                  | All visitors can see prices (lock is off for everyone). The app notes: "When this condition is selected, it will take the highest priority." |
| Signed-in customers - Must be logged in     | Any customer with a store account can see prices after logging in.                                                                           |
| Tagged customers – Must have specific tags  | Only customers with a specific Shopify tag (e.g. 'wholesale') can see prices.                                                                |
| Specific customers – Must match exact email | Only customers whose email matches your list can see prices.                                                                                 |

The dropdown also includes **Request access – visitor request, you approve**, **Customer must be in this company name**, **Customer must be in this company location** and **B2B customer – Shopify B2B only**.

<figure><img src="https://684288492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJh4ZJQcYHPWkPeDOGrHj%2Fuploads%2Fgit-blob-e48e37fbe60214dde0068764a0faae9efdbcb6df%2Fstep2-user-type-signed-in-customers.png?alt=media" alt="Step 2 – Access &#x26; Message: the User type Select access rule dropdown with Signed-in customers - Must be logged in highlighted"><figcaption><p>Image 3: Step 2 — Access &#x26; Message. Select **Signed-in customers - Must be logged in** under User type (recommended)</p></figcaption></figure>

Recommended for most B2B stores: Select **Signed-in customers** so any approved account can view prices after login.

12\. (Optional) Check **Reverse access rule** to invert the logic — e.g. block a specific tag instead of granting it.

13\. (Optional) Combine conditions:

* To require several conditions at once (AND), add more conditions inside the same rule. A customer must meet every condition in a rule.
* To let a different group in (OR), click **+ Add rule** and set up **Rule 2**. A customer who meets any one rule gets access.

If no rule has a condition yet, clicking **Next** shows "Add at least one condition to this rule before you continue." An extra rule left empty next to rules that have conditions doesn't block **Next** and isn't listed in the **Summary**.

14\. (Optional) Set the message guests see. In the **Preview** card on the right, pick the message from the dropdown (e.g. **Message Hide Price**), then click **Customize message** to edit the text and styling.

15\. Click **Next** to continue.

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

Use this step to let guests view prices on specific pages, even while the lock is active everywhere else.

16\. In the **Exclude from lock rules** section, check any pages that should remain visible to all visitors:

* **Home page** — guests can see prices on your homepage.
* **Customer areas** — login, register and account pages stay accessible.
* **Policy pages** — return, shipping, and legal pages are not affected.
* **Specific pages** — enter a page URL and click **Add**.
* **Selected products** — keep some products shoppable even while the lock is on.

<figure><img src="https://684288492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJh4ZJQcYHPWkPeDOGrHj%2Fuploads%2Fgit-blob-4d61d8de69503873c0e5faf97b8ae25d512312f8%2Fstep3-exclude-pages-list-save.png?alt=media" alt="Step 3 Exclude Pages: the Exclude from lock rules list, the Summary card and the Save button"><figcaption><p>Image 4: Step 3 — Exclude Pages. Choose which pages remain accessible to all visitors</p></figcaption></figure>

17\. Click **Save**. You can also click **Save** in the Contextual Save Bar at the top of the page. When you edit an existing lock, the bar appears as soon as you change anything; on a new lock, it appears once you reach Step 3.

### **Save and Verify**

After saving, always test your lock from a guest perspective.

18\. Confirm the "Saved lock settings" message appears.

19\. Open your store in a private/incognito browser window (not logged in).

20\. Navigate to a product page that should be restricted.

21\. Confirm that prices are hidden and the lock message appears.

22\. Log in with a test customer account that meets your access rule.

23\. Confirm that prices become visible immediately after logging in.

{% hint style="info" %}
**✅ Use the Summary panel to double-check your setup**

The **Summary** card on the right side of the lock editor shows:

• The status badge (**Enabled** / **Disabled**)

• **Lock Target** (e.g. Applies to all products / Price hidden - Add to cart visible but disabled)

• **Access & Message** (e.g. Rule 1: Signed-in customer)

• **Exclude Pages** (e.g. Excluded: Homepage, 0 Specific pages)

A completed step shows a check icon. If a step says 'Not setup yet', go back and complete it.
{% endhint %}

## **Troubleshooting Common Issues**

#### **Prices are still visible to guest users**

* Check that the status badge in the Summary card shows Enabled.
* Make sure your theme is compatible. Some custom themes may override lock behavior.
* Check which theme the app is applied to: the **Lock list** header shows your live theme (e.g. **Live theme: Dawn**) with a **Change theme** link, and **Settings → Installation** lets you install the app code on your theme (**Auto Installation** / **Manual Installation**).
* Try re-saving the lock rule after confirming all steps are complete.

#### **Logged-in customers still cannot see prices**

* Check the access rule — make sure it is set to Signed-in customers, not Everyone - No restrictions.
* If using Tagged customers, verify the customer has the correct tag in their Shopify customer profile.
* Clear the browser cache or test in a different browser.

#### **Add to Cart button behavior is not changing**

• Go back to Step 1 (**Lock Target**) and confirm you selected the correct option under **What do you want to hide?**.

• Check that no other app or theme script is overriding the button element.

#### **Google still shows prices in search results**

• Wait up to 24 hours after enabling Hide price on Google search — Google re-indexing takes time.

• Ensure your store is publicly accessible (not password-protected) for Google to crawl it.

#### **I can't find the lock I just created**

• Go to Locks in the left sidebar. All active and inactive locks are listed there.

• Check that you clicked **Save** (not just **Next**) and saw the "Saved lock settings" message.

Still need help? Contact BSS B2B Lock support via Chat support in the app — responses within 12 hours.
