Create Your First Lock (5-minute setup)
Goal: Hide prices from guest users and show them only to logged-in customers.

What your customers see on the storefront.
This is the most common first setup for B2B / hybrid stores: guests can browse products, but they can’t see prices until they log in. We’ll do it using the 3-step Rule Builder:
Step 1 – Lock Target → Step 2 – Access & Message → Step 3 – Exclude Pages
Before you start
Section titled “Before you start”Make sure:
- You’ve installed BSS B2B Lock and can open it from Shopify admin.
- BSS B2B Lock code is installed on your theme (Settings > Installation > Auto Installation). Turn on the B2B Login By BSS app embed too if you use passcode pop-ups, request access or hidden checkout buttons.
- Outside the free trial, the Free plan supports only the Entire store target. Price, product, collection, page, variant and section locks need a paid plan.
- You’re on the Locks screen inside the app (see Quick Tour of the Dashboard).
-
Lock Target (hide prices)
Section titled “Lock Target (hide prices)”- Go to BSS B2B Lock → Locks. The Lock list opens.
- Click Add lock rule. The Start with a preset modal opens.
- Select Create my own lock and click Continue.

Select Create my own lock, then click Continue.
The Start with a preset modal offers these ready-made starting points. Select one and click Continue to open the rule builder with the setup filled in:
- Create my own lock: Build a custom lock with your own rules.
- Require login to view prices: Hide prices until customers log in.
- Require login to view products: Hide products until customers log in.
- Require passcode to view pages: Protect pages with a passcode you create.
- Require login to add to cart: Hide the Add to cart button until customers log in.
- Require login to view collections: Hide collections until customers log in.
On a small screen the modal stacks the options in one column.
- In the General Information card, enter a Lock name, for example
Hide prices from guests. Keep Status set to Enable. - In the Lock Target card, open What do you want to lock? and select Price and add to cart.

Step 1 – Lock Target: name the lock and choose what to lock.
- Under Which products to restrict?, set Restricted products to All product.
- Under What do you want to hide?, select Hide price, then select Disable Add to cart (the button stays visible but can’t be clicked).
- Optional: under Search visibility, tick Hide price on Google search so wholesale prices won’t appear in search results. Your store must be public, and Google may take up to 24 hours to re-index.

Select Hide price → Disable Add to cart, and optionally Hide price on Google search.
- Check the Summary card on the right. It shows “Applies to all products / Price hidden - Add to cart visible but disabled”.
- Click Next to go to Step 2.
-
Access & Message (guests vs logged-in)
Section titled “Access & Message (guests vs logged-in)”Now we define who can see the prices.
- In the Rule 1 card, click the User type condition chip.
- In Select access rule, select Signed-in customers - Must be logged in. This means:
- Logged-in customers → see prices as usual.
- Guests (not logged in) → see your hidden-price message instead.
- Click Done. The Summary card shows “Rule 1: Signed-in customer”.
- Check the Preview card on the right. It shows the message guests will see in place of the price. To change the text, click Customize message, edit the text in Preview & customize message, and close the modal.
- Review that the condition is exactly what you want:
- No tags or extra conditions yet – just login state. This keeps the first setup simple.

Rule 1 = Signed-in customers. The Preview card shows what guests see.
- Click Next to go to Step 3.
-
Exclude Pages (optional, then Save)
Section titled “Exclude Pages (optional, then Save)”Step 3 lets you keep some content open even though the lock is active. For this first rule, you can keep it simple.
- In Exclude from lock rules, tick any content that should stay open, such as Home page, Customer areas, Policy pages, Specific pages or Selected products.
- For a quick start, you can leave everything as default.
- Click Save.

Step 3 – Exclude Pages: choose what stays open, then click Save.
After you click Save:
- You see the toast “Saved lock settings”.
- A banner at the bottom shows “Updating lock, integrate themes and sync with Shopify…” while BSS B2B Lock installs the rule into your theme. This usually takes a few seconds.
- The page title changes to Edit lock, and all 3 steps show a ✓.
- The first time you save a lock, the Lock created successfully! modal explains that code was added to your theme. Click I understand.
-
Check your storefront
Section titled “Check your storefront”Once the rule is saved and installed:
- Click the Check your store button (if shown), or open your storefront in a new tab.
- As a guest (not logged in):
- Visit one of the products or collections you targeted in Step 1.
- You should no longer see prices, and the Add to cart button is visible but disabled.
- Instead, you’ll see your custom “login to see price” message.
- Log in as a customer:
- Refresh the same product or collection page.
- Prices should now be visible as normal.
If the result isn’t what you expected:
- Double-check that the BSS B2B Lock code is installed on the theme (Settings > Installation).
- Check the rule’s Status toggle in the Lock list. If you saved the rule with Status set to Enable, the toggle is already on. If the toggle is off, turn it on, then click Save in the Contextual Save Bar to activate the rule.

A rule saved with Status set to Enable shows the toggle on. If it is off, turn it on and click Save in the Contextual Save Bar.
- Use the in-app Contact us link or email [email protected] and share your store URL plus screenshots – the BSS Commerce team can help review your setup.
What you’ve just achieved
Section titled “What you’ve just achieved”In under 5 minutes, you have:
- Hidden prices from all guests.
- Shown prices only to logged-in customers.
- Optionally kept your B2B prices off Google search (if you ticked Hide price on Google search in Step 1).
This pattern is the foundation for more advanced B2B setups (e.g., show different catalogs for tagged customers, lock entire site for B2B only, etc.) – which we’ll cover in the next sections.
- App Settings, Installation & MaintenanceManage global store-wide settings for BSS B2B Lock, including Theme Editor visibility, theme installation, registration form options, and code cleanup.
- Install & Open BSS B2B LockThis page walks you through how to install BSS B2B Lock on your Shopify store and open it from your Shopify admin, plus one important step to make sure it actually runs on your theme.
- MUST READ: AgreementRead before using BSS B2B Lock: how it adds code to your theme, what to do before uninstalling, which sales channels it covers, and pricing.
- Quick Tour of the DashboardThe Dashboard is the first screen you see after installing BSS B2B Lock.