Sami B2B Lock, Password Protect
Getting started
Start protecting Shopify storefront content with Sami B2B Lock, Password Protect.
Sami B2B Lock, Password Protect lets you control who can view content and purchase products in your Shopify store. Use a Lock to protect a whole website, selected products, collections, pages, blogs, custom URLs, the cart page, or checkout—then decide which visitors can continue and what everyone else sees.
The app is designed for stores that need experiences such as wholesale-only pricing, members-only pages, private product launches, password-protected collections, customer-specific content, or checkout restrictions.
What you can do
Section titled “What you can do”With Sami B2B Lock, Password Protect, you can:
- Protect your whole website or a specific part of your storefront.
- Lock all products, selected products, variants, product tags, vendors, collections, pages, blogs, articles, URLs, the cart page, or checkout.
- Grant access with customer login, customer tags, B2B customer status, selected customers, passcodes, secret links, subscriptions, confirmation prompts, and other conditions.
- Limit access by date, weekly schedule, country, IP address, storefront language, order history, cart contents, cart quantity, or cart total.
- Hide price, Add to cart, product listings, navigation links, or search-engine visibility for blocked visitors.
- Send visitors to another page after access is granted, or add tags to an eligible Shopify customer account.
- Let visitors request a passcode or secret link, then review and send access from the app.
- Customize the Lock’s messages, colors, templates, and translations for each storefront language.
How a Lock works
Section titled “How a Lock works”Every Lock has three parts:
| Part | What it decides | Example |
|---|---|---|
| Content to lock | What needs protection | A wholesale collection or one product variant |
| Access rules | Who is allowed through | A signed-in customer with the wholesale tag |
| Lock behavior | What blocked visitors experience | Hide price and Add to cart, then show a login prompt |
When a visitor opens protected content, Sami Lock checks the configured conditions. If all required conditions are satisfied, the visitor can continue. If not, the Lock applies the selected behavior, such as showing a message, hiding product information, displaying a passcode field, or redirecting the visitor.
Before you begin
Section titled “Before you begin”Before creating a Lock, make sure you have:
- Installed the app in the Shopify store where the Lock will be used.
- Enabled the Sami Lock app embed on the Shopify theme you want to protect.
- Identified the storefront content to protect and the customer audience that should be allowed through.
- Prepared any Shopify data required for the rule, such as customer tags, products, collections, or test customer accounts.
Start here
Section titled “Start here”Follow these guides in order when setting up the app for the first time:
- Install the app from the Shopify App Store and approve its permissions.
- Enable the app embed from the app Dashboard so Sami Lock can run on the storefront.
- Create your first lock with a simple product and logged-in-customer example.
- Learn how locks work before creating more advanced rules.
Choose the right guide
Section titled “Choose the right guide”After the initial setup, use the guide that matches your goal:
| Your goal | Start with |
|---|---|
| Protect products, variants, collections, pages, blogs, URLs, or checkout | Content to lock |
| Decide which customers can access protected content | Access rules overview |
| Hide prices, menus, product links, or configure redirects | Lock behavior overview |
| Send passcodes or secret links after a visitor asks for access | Request access overview |
| Change colors, templates, messages, or translations | Design & customization |
| Check an issue with the Lock or app embed | FAQ |
Need help?
Section titled “Need help?”If you encounter an issue while setting up a Lock, start with Troubleshooting & FAQ. You can also contact support@samita.io with your store URL, Lock name, affected page, expected result, actual result, and a screenshot.