Skip to content

Guide · Store access

How to lock your Shopify store (or just your wholesale prices)

You can lock a Shopify store three ways: the password page hides the whole store, B2B-only access limits it to B2B buyers, and an app can hide only prices and Add to Cart. Pick by what you need hidden.

Updated October 8, 2026

Short answer: Shopify gives you three levels of locking. The password page hides the whole store. Its “Restrict access to B2B customers only” option limits the store to B2B buyers. For anything narrower, such as hiding only prices, you need an app. BTB Store Lock hides prices from guests and keeps the rest of your store public.

Option 1: Shopify’s password page

Go to Online Store > Preferences > Store access, set a password and save. Per Shopify’s help center:

  • Private mode hides all pages from visitors and search engines.
  • Visitors see the password page, which you can edit in the theme editor.
  • New Shopify plans start in private mode.

It is the right tool before a launch. The help doc doesn’t describe per-page or per-collection restriction, or hiding prices only.

Option 2: Restrict the storefront to B2B customers

The password page also has a “Restrict access to B2B customers only” option. It fits a store that sells only to wholesale buyers. Each buyer needs a Company record. See what native Shopify B2B includes and BTB vs. Shopify B2B.

Option 3: Hide only prices from guests

Most wholesale stores want a public catalog with trade prices kept private. Store Lock does this on your retail storefront:

  • Two modes: hide prices only, or hide prices and Add to Cart.
  • Page scope: product, collection, search, home, cart and quick-view, each toggled independently.
  • Unlock: customer login, a shared passcode with a remember-duration, or both.
  • No Companies needed. Logged-in customers always pass.

Pair it with a Request a Quote button so guests have a next step. Already comparing lock apps? See Locksmith alternative for wholesale.

Comparison table

Password pageB2B-only accessStore Lock
ScopeWhole storeWhole storePrices, or prices and Add to Cart
Per-page scopeNot describedNot describedYes, by page type
Unlock methodPasswordB2B customer loginLogin or passcode
Needs Company recordsNoYesNo
Store stays publicNoNoYes

Honest limits

Store Lock masks prices visually. They are still present in the page source, so a determined visitor with developer tools could find them. It isn’t a server-side paywall. It suits catalogs where the goal is not to show trade pricing publicly. If you need a hard lock, use the password page.

Set up Store Lock

  1. Pick hide mode. Prices only, or prices and Add to Cart. Then choose which page types are gated.
  2. Pick unlock method. Login, or a shared passcode with an optional remember-duration. Passcodes suit invite-only drops.
  3. Customize the unlock UI. Set the login message, button text, colors and display style. Add custom CSS selectors for non-standard themes.

See BTB pricing.

FAQ

Locking a Shopify store — common questions

Can I password protect just one collection or page?
Shopify's password page protects the whole store, and its help doc doesn't describe per-page or per-collection restriction. BTB Store Lock lets you choose page types (product, collection, search, home, cart, quick-view), so you can gate the pages where prices appear.
Can I hide prices but keep the store public?
Yes, with an app. Store Lock keeps your store open and masks prices, or prices and Add to Cart, for guests. Logged-in customers always see the normal store.
Can wholesale customers log in to see prices?
Yes. Guests see a prompt such as 'Login to see prices'. Customers who sign in to a customer account see prices normally. You can also set a shared passcode that unlocks the store for a duration you choose.
Is a locked store still indexed by Google?
Per Shopify's help center, private mode (the password page) hides pages from visitors and search engines. Store Lock keeps your store public, so search engines can still crawl it. It only masks prices for guests.
Does Store Lock need Company accounts?
No. It works on your retail storefront for any logged-in customer, with no Company records. If you want a B2B-only storefront through Shopify's own option, buyers need Company records.

Get started

Hide wholesale prices from guests.

BTB Store Lock hides prices, or prices and Add to Cart, until a visitor logs in or enters a passcode. Growth $8.99/mo, Advanced $29/mo, 7-day free trial.

  • 7-day free trial
  • No credit card
  • Cancel anytime