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 page | B2B-only access | Store Lock | |
|---|---|---|---|
| Scope | Whole store | Whole store | Prices, or prices and Add to Cart |
| Per-page scope | Not described | Not described | Yes, by page type |
| Unlock method | Password | B2B customer login | Login or passcode |
| Needs Company records | No | Yes | No |
| Store stays public | No | No | Yes |
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
- Pick hide mode. Prices only, or prices and Add to Cart. Then choose which page types are gated.
- Pick unlock method. Login, or a shared passcode with an optional remember-duration. Passcodes suit invite-only drops.
- 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?
Can I hide prices but keep the store public?
Can wholesale customers log in to see prices?
Is a locked store still indexed by Google?
Does Store Lock need Company accounts?
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