Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
In order to apply the lock to your site, please make sure that the app is integrated to the live/current theme.
Steps to manage
Open the app > On the app dashboard page, navigate the App status section > Integrate theme:
There will be a popup screen shows up as below, kindly select the theme you want the app to work on and click Enable embed app:
You will be redirected to the App embed page in Theme customize. From there, click Save to embed the app to the theme:
You can check the lock on the storefront to see how it works.
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address
To prevent the app data from working on your theme, you just need to disable the app embeds on your theme.
Open the app > On the app dashboard page, navigate the App status section:
Click on the theme name displayed in the App status setting, you will be redirected to the App embed in Theme customize:



4. Click Save to update the theme
Check the result on the front end
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address [email protected]


Steps to manage
Open the app > Click Locks
Hover on the lock, you will see 3 icons shown up. Click on the Duplicate icon:
An exact lock is created:
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address [email protected]

Steps to manage
Open the app > click Locks > click the Create Lock button
Choose the type of lock you want > Specific Pages > Create lock:
Set up Name for the lock.
In the Lock resources setting > Click Manage collections and select the collection you want to add to this lock:
You can choose more than one 1 page to lock.
Set up Lock conditions: Select who can (or cannot) access the content, and the direct page when customers access the Lock. Refer to this :
Click Save to update the changes
Check the result on the front store.
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address
After setting Hide add to cart button for specific products and customers, you can also display a button or link on the collection page or product page to direct customers to login page.
Please follow the steps set it up.
Step to manage
1. Open the app > click Settings
2. In Color Settings dropdown, select Price & Add to cart
Select one of the 2 option:
Plain text: the text will display under the product title, customers click text and it direct them to login page
Button: the Login to view price button displays below the product title, customers click button and it directs them to the login page
4. Configure the text/button color
5. Click Save
Check the result on the front store
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address
Steps to manage
Open the app > click on the Locks section > Create Lock
Choose the type of lock you want > Specific Collections > Create lock:
Steps to manage
Open the app > click on the Locks section > Create Lock
Choose the type of lock you want. There are 6 contents the app supports hiding: Entire website, Product, Collection, Blog, Page URL, Page.
In this case, please choose "Specific products" to start setting up lock for the products you want.
Welcome to Sami B2B Lock, Password Protect — the simple, powerful solution to secure your Shopify store for B2B customers. This app helps you lock pages, hide prices, and protect your store with passwords, so only authorized visitors can access sensitive content.
Lock specific products, collections, or pages
Hide prices until customers log in or enter a password
Control access for wholesale or VIP customers
Create custom rules for different customer groups, etc, ...
You can install the app from the Shopify App Store: 👉 Sami B2B Lock, Password Protect
After installation, go to your Shopify Theme > App Embeds, and enable Sami Lock. Don’t forget to Save the changes.
Explore Sami B2B Lock, Password Protect and create custom lock rules to control who can access your store’s products, collections, or pages
Visit your store in a private/incognito window or a different customer account to see the rule in action. Make adjustments as needed.
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address [email protected]








Set up Name for the lock.
In the Lock resources setting > Click Manage collections and select the collection you want to add to this lock:
In the Product Settings section, tick on the checkbox to hide the product, product price, or the “Add to cart” button. You can select one of these options or select all.
You also can configure to hide the product/product price of this collection within other collections/pages in your store by toggling on the setting below:
Set up Lock conditions: Select who can (or cannot) access the content, and the direct page when customers access the Lock. Refer to this document:
Click Save to update the changes.
Check the result on the front store.
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address [email protected]


Set up Name for the lock:
In the Lock resources section, you can choose between the “All products” option or the “Manual products” option. In this case, we use the “Manual products” option as an example:
*You can choose more than one product.
In the Product Settings section, tick on the checkbox to hide the Product, Product price, or the “Add to cart” button. You can select one of these options or select all.
You also can configure to hide the product in other places by using the below settings:
These settings help you:
Hide products within collection pages/product lists
Hide products on Google via search/search engine.
Set up Lock conditions: Select who can (or cannot) access the content, and the direct page when customers access the Lock. Refer to this document:
Click Save to update the changes
Check the result on the front store.
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address [email protected]

Steps to manage
1. Open the app > click Locks > click Create Lock button or open an existing Lock
2. Enter the Lock Name
3. In Lock resources > Content to lock section, select Specific products or Specific collections option > Add products/collections you want to apply the Lock
4. Then the product Product settings option will show up, tick on Hide product button add to cart checkbox
5. In Lock conditional section > Select who can (or cannot) access the content > select Visitors with passcode
6. Enter passcode and description
7. Click Save
Now, view your front store:
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address
When a lock is disabled in the app, it doesn’t work on the site.
Steps to manage
Open the app > click Locks
Hover the lock > click on the Disable icon:
When a lock is enabled in the app, it works on the site.
Steps to manage
Open the app > click Locks
Hover the lock that has been disabled > click on the Enable icon:
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address
















There are two types of this condition, Automate condition and Manual.
The Automate condition option will help you manage the customers to be able to see the locked site by the customer tag. Then once the customers access the locked site, they will be redirected to the Login page of your store (or any pages that you choose in the “Redirect to” section).
The customer tag will be added to the customer account in the Customers folder of Shopify.
You also can use other conditions for this Automate option:
The customer's email contains: Show content to customers logging in to your store with email ID that contains the text you put in the setting.
B2B customer: Show content for customers that have B2B account. The B2B account is determined by the company information in their account. If the account doesn't have this information, the app will hide content from them.
The Manual option will help you choose and manage the customers who can be able to view the locked site
This condition will make the customers enter a passcode to view the locked site. They will be redirected to the lock page which has a passcode input field.
Just like the “Visitors with passcode” condition, the customers will need a code to add to the tail of the page URL. Then they will be able to see the locked site.
The normal link has this form: abc/product/special
The secret link will be like this: abc/product/special?access=test1234
The URL tail: ?access=test1234 is the code you have to set up in the app setting. You will have to create a code tail and add it to the tail of the page URL you want to access that locked page
Then once the customers access the locked site, they will be redirected to the lock page.
This lock condition allows you to hide content based on customer's IP address. If the customer's IP is outside of the country you set up in the app, the lock will be activated.
We take data from customer's IP and location to activate the lock (not from the Shopify Market data)
You can either configure which countries are granted access to the locked content or are restricted from seeing the content:
Allow only these countries:
Block these countries:
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address [email protected]

To achieve the result of automatic translation, please make sure the target language has been added to your font store. Please follow this article to know more: Shopify in multiple languages · Shopify Help Center
Steps to manage
1. Open the app > click Translation
2. Click Add language > select the target language you want in the dropdown > click Add button
3. Enter the fields with the target language you want to use in your front store
4. Click Save
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address
Steps to manage
1. Open the app > click Locks > click Create Lock button or open an existing Lock
2. Enter the Lock Name
3. In Lock resources > Content to lock section, select Specific products or Specific collections option > Add products/collections you want to apply the Lock
4. Then the product Product settings option will show up, tick on Hide product button add to cart checkbox
5. In Lock conditional section > Select who can (or cannot) access the content > select Logged in customers
6. In ACCESS part, select Can access
7. Click Save
Check the result on the front store
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address
This setting allows you configure of text, button and notification message that describe the Locks on the front store.
Steps to manage
1. Open the app > click Settings
2. In the Color Settings dropdown, select one of app config you want. They are Placeholder resources, Price & Add to cart, Notification with passcode, Input passcode, Notifications with message
3. Click color buttons on the left to change the color of text and buttons and view the result on the preview section on the right
4. Click Save
Check the result on the front store
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address
Steps to manage
Open the app > click Locks > click the Create Lock button
Choose the type of lock you want > Whole website > Create lock:
After setting , you can also display a button or link on the collection page or product page to direct customers to login page.
Please follow the steps set it up.
Step to manage
Open the app > click Settings
In Notifications section, select Price & Add to cart
Steps to manage
Open the app > click Locks > click Create Lock button or open an existing Lock
In Lock resources > Content to lock section, select Specific products or Specific collections option > Add products/collections you want to apply the Lock
Steps to manage
1. Open the app > click Locks > click Create Lock button or open an existing Lock
2. Enter the Lock Name
3. In Lock resources > Content to lock section, select Specific products or Specific collections option > Add products/collections you want to apply the Lock
4. Then the product Product settings option will show up, tick on Hide product button add to cart checkbox
5. In Lock conditional section > Select who can (or cannot) access the content


















As this lock is created to lock the whole website, it means whichever pages you click on in the store site, it will be locked!
So in the Lock resources section, there are two settings to help you exclude the page you want customers to access whereas the whole website is locked.
Exclude url: Write down the page URL you want your customers to see when accessing the site. To set it up, kindly write the URL tail only.
For example, the page URL has format like this: https://trang-test12.myshopify.com/products/gift-card
You should write: /products/gift-card -> Click Add icon:
Allow access to the homepage: Tick on this setting, customers will be able to view your homepage, then if they click on anything else in the homepage, the lock will work!
If you untick all these above settings, the whole website will be locked and the lock works immediately once the customers access your site. They cannot go anywhere else until they satisfy the lock condition (login or enter passcode):
Set up Lock conditions: Select who can (or cannot) access the content, and the direct page when customers access the Lock. Refer to this document
Click Save to update the changes
Check the result on the front store
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address [email protected]

Select one of the 2 option:
Plain text: the text will display under the product title, customers click text and it direct them to login page
Button: the Login to view price button displays below the product title, customers click button and it directs them to the login page
Configure the text/button color.
Click Save
On the same Settings page > Click Translation > Find the section for the Login to see price text and edit:
Check the result on the front store
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address [email protected]
Then the product Product settings option will show up below, tick on Hide product prices checkbox
In Lock conditions section > Select who can (or cannot) access the content > select Selected customer
In ACCESS part, select Can access
In Redirect to part, select Login Page
Click Save to update the changes
Check the result on the front store
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address [email protected]

6. In ACCESS part, select Cannot access or Can Access and set up the direct link
7. Click Save
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address [email protected]


Steps to manage
Open the app > click Locks > click Create Lock button or open an existing Lock
In Lock resources > Content to lock section, select Specific products or Specific collections option > Add products/collections you want to apply the Lock
Then the product Product settings option will show up below, tick on Hide product prices checkbox
In Lock conditions section > Select who can (or cannot) access the content > select Visitors with passcode
Enter the passcode and description
Click Save
Now, view your front store:
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address
Open the app > click Locks > click Create Lock button or open an existing Lock
In Lock resources > Content to lock section, select Specific products or Specific collections option > Add products/collections you want to apply the Lock
Then the product Product settings option will show up below, tick on Hide product prices checkbox
In Lock conditions section > Select who can (or cannot) access the content > select Selected customer
In ACCESS part, select Cannot access
There are 2 types to select customer:
Manual: click Manage customer button and select customers from all customers in your store
Rules: set up condition with customer tag. For example: customers – is tagged with – wholesale. Customers who has tag “wholesale will not be able to view the price o the selected products.
Click Save to update the changes
Check the result on the front store
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address
In the app, error messages are divided into two types:
Custom message → A general message shown to the customer.
Condition-based messages → Displayed based on the specific conditions configured in the app, helping the customer understand the exact reason why checkout is not allowed.
Error messages also support multi-language. If multiple languages are enabled and published in Shopify (Admin → Settings → Languages), then when customers switch the theme language, the checkout error messages will automatically be translated as well.
Step to manage:
Go to Locks > Open the created lock:
In the Checkout rules section, navigate the Error message part > Default language, you will see all languages available (to add more languages, please set up in Shopify Settings as mentioned above)
Click on the language you want and translate the texts:
Then Save the changes.
After config the Lock access in the app, you want to check the result on the front store?
Please view this article to know more how the Lock notification show up on your site.
There are 5 configurations. They are Placeholder resources, Price & Add to cart, Notification with passcode, Input passcode, Notifications with message
On the collection page, the default lock icon shows up at the position of the product, below is the Message that notify about the hidden product.
The Lock content is usually Hide products on all pages.
If you select setting to hide add to cart and product price for non-logged in customers, there will be Login to see price link/button on the front store that directs non-logged in customers to the login page.
On the front store, the page or product price is hidden and customers only can view the page if they enter the passcode.
The widget will include one lock icon, the passcode box and the message.
For example:
Enter the passcode to view the page
The widget will include the passcode box and the message.
For example:
Enter the passcode to view product price
The widget will include a Lock icon, placeholder, notifications message, and a Back button that directs customers to the previous page.
Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address
This Lock type prevents customers from completing checkout with restricted products. Customers can still add those products to the cart, but the order will be blocked once they proceed to checkout.
An error message will appear to inform customers of the reason:
Step to manage:
From the app's dashboard page > go to Locks page > Create lock > Choose lock content: Checkout lock



























Set up name for the lock in the Lock information part.
In the Checkout rules setting, set up condition to apply this lock for products.
If a customer proceeds to checkout and either the cart items or the customer information match the rules configured in the app, the system will automatically display an error message on the checkout page. In this case, the customer will not be able to complete the checkout and create the order.
There are currently 7 conditions. It can be applied based on Product condition or Customer condition:
For example, restrict 2 products from being paid at checkout
Please use condition: Select products
Click Add another condition to have more rules for this lock:
There are two types of error messages:
Custom message – a general notification shown to the customer.
Condition-based messages – displayed based on the specific conditions configured in the app, helping the customer understand the exact reason why checkout is not allowed.
In this case, the default error messages shown to customers are:
‘Product {title} cannot be checked out’ and ‘Your email is not eligible for checkout’
These appear based on the conditions you configured: Select products (block listed) and Customer email (is equal to)
After finishing the setup, click Save.
You have finished the Lock setup part. Now to officially activate the lock rule at checkout page, you have to add Sami B2B Lock to your Shopify Checkout page.
Go to Shopify Settings > Checkout > Scroll down to the bottom of the page > Checkout rules > Add rule:
Click Validation to complete the checkout rules:
Turn on the validation:
The configuration is completed. You can check the result in the front store now.












