Key Takeaways
- Shopify can password protect the entire online store from Online Store > Preferences.
- Shopify does not natively password protect individual products, collections, or pages in the same flexible way. For that, you usually need an app or custom development.
- Unlisted products are hidden from search, sitemap, collections, storefront search, and product recommendations, but they can still be opened with a direct URL.
- Hiding a collection does not automatically make the products inside that collection unavailable.
- Dedicated B2B stores can restrict access to logged-in B2B customers from Online Store > Preferences.
- CSS can hide prices visually, but it should not be treated as strong access control.
- For wholesale stores, apps are often the cleaner option when you need login to view price, customer tag rules, passcodes, locked collections, or wholesale-only products.
Many Shopify stores need to hide or lock certain parts of the storefront. But there is one important thing to understand first. Hiding content on Shopify can mean different things.
You can remove a product from a sales channel. You can make a product unlisted. You can password-protect the whole online store. You can restrict a dedicated B2B store to logged-in B2B customers. Or you can use an app or custom code to lock products, collections, prices, pages, or URLs for specific customers.
In this guide, we will explain the safest ways to lock or hide Shopify store content in 2026, what you can do with native Shopify settings, and when you may need a Shopify lock app.

Why You Might Need to Lock or Hide Content on Shopify
- Wholesale Stores: Keep your pricing and products visible only to approved wholesale customers.
- Members-Only/VIP Access: Offer exclusive content or products to a select group.
- Pre-Launch or Special Products: Hide products until a specific launch date.
- Geolocation Restrictions: Make products or pages visible to customers from specific regions.
- Seasonal or Private Collections: Limit access to certain collections based on time or user type.
- Temporary Store Closure: Hide your entire store temporarily for maintenance, renovations, or special events without losing content or settings.
- Exclusive Products: Hide add to cart button for products that are not yet available for sale or out of stock.
How to Hide Products in Shopify (without an app)
If you only need to lock or hide certain products from all visitors (without using a 3rd party Shopify app), follow these steps:
STEP 1: Go to the Products tab in your Shopify Admin.

STEP 2: Select the products you want to hide from your storefront by clicking on the checkbox(es).

STEP 3: Now, click on the three dots located at the top right. (as shown in the above image).
STEP 4: Click on the ‘Exclude from sales channel’ option.

STEP 5: Next, choose which sales channel(s) you want to hide the products from.

STEP 6: Click on the ‘Exclude products’ button.
And that’s it! You have successfully hidden the products from your Online Store.
You can confirm the same by visiting your Online Store and searching for the product. The product won’t show up as it was excluded from all sales channels.
How to Hide Collection(s) on Shopify (without an app)
To hide collections on your Shopify store from all visitors, follow these steps:
STEP 1: Go to the Products > Collections tab in your Shopify Admin.

STEP 2: Select the collection(s) you want to hide from your storefront by clicking on the checkbox(es).

STEP 3: Click on the ‘Exclude from sales channels’ button.

STEP 4: Next, choose which sales channel(s) you want to hide the products from.

STEP 5: Click on the ‘Exclude collections‘ button.
Here’s how it will look after you exclude the collections:

That’s it. Your selected collections won’t be displayed on your storefront.
How to Hide Price in Shopify Products/Collection Page (without an app)
Shopify’s native settings do not allow you to hide prices on the products and collections page. To do without an app, you’ll need to do a code customization in your published theme.
Here are the steps to do it:
STEP 1: Go to Sales channels > Online Store > Themes from your Shopify admin.

STEP 2: Click on the ‘…‘ dots on the right and go to Edit code.
STEP 3: Navigate to the theme.liquid file.

STEP 4: Scroll to the bottom of the code and above </body> tag, paste the following code:
<style>
.product-card-wrapper .price,
.product .price{
display:none !important
}
</style>

STEP 5: Click on the ‘Save‘ button. Also, to see the changes please click on the ‘Preview store’ button at the top right.
That’s it. All your product and collection prices will be hidden on the storefront.
How to password-protect your entire Shopify store?
Shopify settings do not allow you to password-protect individual product pages on your store (you can achieve this by installing Wholesale Lock Manager app on your store). However, it allows you to lock your entire storefront using a password.
To do that, follow these steps:
Step 1: Go to Online Store -> Preferences
Step 2: Click on Password protected checkbox
Step 3: Enter a password in the Password placeholder
Step 4: HittheSave button

How to Restrict a Dedicated Shopify B2B Store to Logged-In B2B Customers
If you operate a dedicated B2B store, Shopify has a native setting to restrict access to logged-in B2B customers.
Steps
- From your Shopify admin, go to Online Store > Preferences.
- In the Store access section, select Restrict access to B2B customers only.
- Click Save.

Before showing private products or wholesale prices, a proper B2B customer approval on Shopify flow helps you decide who should get access.
Lock your Shopify store with Wholesale Lock Manager (WLM) app
Making changes to your theme’s code can be a challenging task. A single mistake could disrupt your theme’s functionality or even cause your entire Shopify store to go offline. To avoid these risks and customise your store safely, consider adding a Shopify lock app like Wholesale Lock Manager (WLM) app.
This powerful tool offers invaluable features for locking or hiding specific content on your store. Here are some of the standout features Wholesale Lock Manager provides:
1. Display or hide specific content on your Shopify store

With WLM, you get the ability to hide or display specific products, collections, page(s), URL(s), or even your entire storefront.
2. Display or hide Shopify store content to your selected customers

You can choose to display or hide specific content on your store to the specific customer that you select. These could be only logged-in customers or customers with a specific “tag” added.
You can also use the passcode feature of WLM to password-protect your selected content on your Shopify storefront. This may help you with displaying separate prices to your retail and B2B customers.
3. Hide prices of your products for non-logged-in customers (login to view price)

4. Hide add-to-cart with a single click

Want more control on your Shopify store’s content? Try Wholesale Lock Manager B2B
Try our Wholesale Lock Manager B2B app for free !
Trusted by over 16,000 Shopify merchants
Final Thoughts
Locking your Shopify store can help you achieve all of these things and more. By hiding prices, add-to-cart buttons, or even entire products from your storefront, you can create a seamless customer experience for those who should have access to your locked content.
Further, by password-protecting specific pages or collections, you can ensure that only authorized users will see sensitive information, like pricing details or pre-order items.
We recommend you to do your customizations carefully and without breaking your store. Happy selling!
Frequently Asked Questions
Can I hide products on Shopify without an app?
Yes. You can remove a product from the Online Store sales channel from the product’s Publishing section. You can also set a product as Unlisted if you want it hidden from search, sitemap, collections, storefront search, and recommendations, while still being accessible by direct URL.
Can I password protect my entire Shopify store?
Yes. Go to Online Store > Preferences > Store access and select Password protection. This protects the full online store with one password.
Can I password protect only one Shopify product or page?
Not with Shopify’s basic store password feature. The built-in password setting protects the entire online store. For specific products, collections, pages, or URLs, Shopify’s B2B docs recommend custom development or a third-party app.
Can I restrict my Shopify store to only logged-in B2B customers?
Yes, if you operate a dedicated B2B store. Go to Online Store > Preferences > Store access and select Restrict access to B2B customers only. Shopify recommends testing this carefully, especially if you run a blended B2B and D2C store.
Can I hide products only from retail customers but show them to B2B buyers?
Yes, but you need the right setup. If you use Shopify B2B, you can include products in B2B catalogs and unpublish them from D2C channels where needed. Shopify’s B2B catalog docs explain that products can be made available to B2B customers while being unpublished from Online Store and other channels.
Can I hide out-of-stock products automatically?
Yes. Shopify says you can use smart collection conditions to hide out-of-stock products from collections, or use apps or Shopify Flow workflows to automate this based on inventory changes.


1 Comment
I really enjoyed this post! Your writing style is engaging and easy to follow.