# Set up Lock & Hide

## Overview

This guide walks you through creating a Lock & Hide rule — choosing what to lock or hide, who can access it, and what restricted customers see.

## 1. Create a new lock

Go to **B2B Features** → **Lock/Hide** in the sidebar and click **Create lock**.

## 2. General information

* **Lock name** — enter an internal name for this rule (not shown to customers).
* **Status** — set to **Enabled** to activate the rule, or **Disabled** to save it without applying it yet.

## 3. Choose what to lock or hide

In the **Choose what to lock/hide** section, select the lock type:

### a. Entire store

Locks your entire storefront. All pages and products require the access condition to be met.

### b. Lock collections

Choose which collections to lock:

* **All collections** — every collection on your store
* **Specific collections** — search and select individual collections

All products within a locked collection are also locked.

### c. Lock products

Choose which products to lock:

* **All products** — every product on your store
* **Specific products** — search and select individual products
* **Products in price lists** — lock all products belonging to specific Price Lists

### d. Hide product prices

Choose which products have their price hidden from non-qualifying customers. Products are still visible, but the price is replaced by your custom message. Options: all products, specific products, or products in specific Price Lists.

### e. Specific pages

Select individual pages to lock: Homepage, Customer log-in/registration page, or other custom page URLs.

You can also specify **Pages to exclude from being locked** — for example, exclude your login page even when locking your entire store.

## 4. Choose who can access locked content

In the **Choose how customers can access locked content** section, define the access condition:

* **All logged-in customers** — anyone with a store account
* **Customers belong to customer groups** — select specific Customer Groups
* **Select specific customers** — search and pick individual customers
* **Enter password** — customers gain access by entering a passcode you define
* **Members belong to specific company** — select a Company Account

You can also use the **Invert** button to flip the logic — for example, to block specific customers rather than allow them.

## 5. Choose what restricted customers see

In the **Choose what to display to restricted customers** section, configure the message or interface shown to customers who don't meet the access condition.

### a. For locked content (non-price-hiding rules)

Enter the message or redirect URL that restricted customers see when they try to access locked content.

### b. For Hide price rules

Use the visual editor to customise the message that replaces the price. You can adjust the font, color, font style, and size. Switch to the **Edit HTML** tab to customise the message further with raw HTML.

A **Preview** panel shows how the message will look on your storefront.

## 6. Save

Click **Save**. The rule activates immediately if the status is set to **Enabled**.

***

{% hint style="success" %}

### Need Help?

If you have questions or run into issues while using any feature, we're here to help.

* 💬 **Start a** [**Live Chat** with our support team](https://go.crisp.chat/chat/embed/?website_id=a59f354c-f51f-4f84-ae9a-c0e8dd69d2e5) directly from your B2Bridge dashboard.
* 📧 **Email us at** [**support@b2bridge.io**](mailto:support@b2bridge.io) and we'll get back to you as soon as possible.
  {% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.b2bridge.io/v2.2026/app-configuration/b2b-features/lock-hide/set-up-lock-hide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
