> 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

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

This feature is available on all BSS B2B Lock plans. Some advanced options (such as hiding prices on Google search results or targeting by customer tag) may vary depending on your plan and store setup.

| <p><strong>✅  Best Practice: Pair with a login prompt message</strong></p><p>Always set a clear, friendly message that tells guest visitors why prices are hidden</p><p>and how to log in. This reduces confusion and improves conversion.</p><p>Example: "Log in to your wholesale account to see exclusive pricing."</p> |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

### **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**

| **Feature**                     | **Available on Free / Basic** | **Available on Pro / Enterprise** |
| ------------------------------- | ----------------------------- | --------------------------------- |
| Hide prices from guests         | Yes                           | Yes                               |
| Hide Add to Cart button         | Yes                           | Yes                               |
| Hide price on Google search     | Yes (store must be public)    | Yes                               |
| Restrict by customer tag        | Limited                       | Yes                               |
| Restrict by specific email list | No                            | Yes                               |
| Restrict by location / region   | No                            | Yes                               |
| Custom lock message / redirect  | Yes                           | Yes                               |

| <p><strong>⚠️  Known limitation: Google re-indexing takes time</strong></p><p>If you enable 'Hide price on Google search', updates can take up to 24 hours</p><p>for Google to re-index. Your store must be public (not password-protected) for this to work.</p> |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

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

## **Lock Target and Content**

### **Step 1 — Select Your Lock Target and Content**

This step tells the app what to hide and where.

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

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

3\. In the Select content to lock section, select Hide Price & Add to Cart.

<figure><img src="/files/n9KZ3dUs4casFnnzJqrr" alt="Image 1: Select &#x27;Hide Price &#x26; Add to Cart&#x27; — then choose specific content below"><figcaption><p>Image 1: Select 'Hide Price &#x26; Add to Cart' — then choose specific content below</p></figcaption></figure>

| <p><strong>Tip: Choose specific content for more control</strong></p><p>Scroll down to the 'Choose specific content' section.</p><p>Select 'Hide Prices' if you only want to hide prices (keeping the cart button visible).</p><p>Select 'Hide Add to Cart' to hide the cart button as well.</p> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |

4\. Under Restricted products, choose:

• All products — hides prices across the entire store, or

• Specific product / collection — use the dropdown to select which items to restrict.

5\. Click Next to continue.

| <p><strong>⚠️  Note</strong></p><p>You cannot combine 'Lock entire Store' and 'Hide Price & Add to Cart' in the same rule.</p><p>Create separate lock rules for different lock types.</p> |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

### **Step 2 — Configure Access Rules (Who Can See Prices)**

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

6\. In the Grant Access To section, select User type.

7\. 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).                       |
| Signed-in customers        | Any customer with a store account can see prices after logging in.            |
| Tagged customers           | Only customers with a specific Shopify tag (e.g. 'wholesale') can see prices. |
| Specific customers         | Only customers whose email matches your list can see prices.                  |

<figure><img src="/files/C1Dxra5ECJkpwD0azMTY" alt="Image 2: Grant Access To — select access rule dropdown with all options shown"><figcaption><p>Image 2: Grant Access To — select access rule dropdown with all options shown</p></figcaption></figure>

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

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

9\. Click + Add rule if you want to layer multiple conditions.

10\. Click Next to continue.

### **Step 3 — Set Price & Cart Button Behavior**

This step controls exactly how the hidden elements appear to guest visitors.

11\. Under Control Add to Cart Button Behavior, choose:

* Disable Add to Cart — The button remains visible but cannot be clicked.
* Hide Add to Cart — The button disappears entirely.

12\. Under Price settings, decide whether to check Hide price on Google search.

<figure><img src="/files/pc5SrdNM3SvTBbc6DrIW" alt="Image 3: Cart button behavior options and Price settings section"><figcaption><p>Image 3: Cart button behavior options and Price settings section</p></figcaption></figure>

| <p><strong>⚠️  Before enabling 'Hide price on Google search'</strong></p><p>Your store must be publicly accessible (not password-protected).</p><p>Changes take up to 24 hours to reflect in Google search results.</p><p>Once enabled, dismiss the warning banner by clicking the X.</p> |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

13\. Click Next to continue.

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

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

14\. 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/account pages stay accessible.
* Policy pages — return, shipping, and legal pages are not affected.
* Specific pages — manually choose individual pages.
* Selected products — pick specific products that are always visible.

<figure><img src="/files/1UMVzCOde28ZVvCsSDV0" alt="Image 4: Exclude from lock rules — choose which pages remain accessible to all visitors"><figcaption><p>Image 4: Exclude from lock rules — choose which pages remain accessible to all visitors</p></figcaption></figure>

15\. Click Save or Next to finish.

### **Step 5 — Save and Verify**

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

16\. Click Save in the top-right corner of the lock editor.

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

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

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

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

21\. Confirm that prices become visible immediately after logging in.&#x20;

| <p><strong>✅  Use the Summary panel to double-check your setup</strong></p><p>The Summary panel on the right side of the lock editor shows:</p><p>  • Status (Enable / Disable)</p><p>  • Lock content (e.g. Price)</p><p>  • Rule to access (e.g. If the customer is signed in)</p><p>If it says 'Not set up yet', go back and complete the access rule step.</p> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |

## **Troubleshooting Common Issues**

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

* Check that your lock status is set to Enable in the Summary panel.
* Make sure your theme is compatible. Some custom themes may override lock behavior.
* Go to Settings > Theme targeting and verify your theme is correctly targeted.
* Try re-saving the lock rule after confirming all steps are complete.&#x20;

#### **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 3 and confirm you selected the correct button behavior option.

• 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) on the final step.

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


---

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