Creating Lock for Products
Create Lock for all Products
Steps to manage
Open the app > click on the Locks section > Create Lock

In the Lock setup tab, set up Lock name:

Move to the Content to lock section:
Choose a Lock content for Products: All products

Exclude some specific products in the Restricted products setting (optional)

In the Unlock rules tab > Navigate to the Access key section and set up a lock condition.
For example:
Hide the products in the storefront and only allow customers who login to the store can see the products again.
Customers will be redirected to the login page immediately once trying to access the locked products.
After login, customers are redirected back to the Collection page to start purchasing locked items in the store.
Rule condition > Select Logged-in customers from the list:

Rule logic
There are two options for you to choose: If or Unless.
If - when you just want customers to immediately login to your store when they try to access the locked products.
Unless - when you want customers to be redirected to another page to do other things you require before they can login and see the locked products. Like register or do some extra works before login.
In each logic, the app supports redirecting customers to a specific page before or after login.

Navigate the Summary section, in here, select a lock behaviour:

You also can configure to hide the product in Google by checking the settings in Google settings:

These settings help you:
Hide products within collection pages/product lists
Hide products on Google via search/search engine.
Click Save to complete the lock.
Check the result on the front store.
Create lock for specific Products
Steps to manage
Open the app > click on the Locks section > Create Lock
In the Lock setup tab, set up Lock name
Move to the Content to lock section:
Choose a Lock content for Products: Manual products

Select the products you want for this lock in the Restricted products setting:

*You can select more than 1 product
In the Unlock rules tab > Navigate to the Access key section and set up a lock condition.
For example:
Hide 1 product in the storefront and only allow customers who login to the store can see the products again.


Navigate the Summary section, in here, select a lock behaviour:

You also can configure to hide the product in Google by checking the settings in Google settings:

Click Save to complete the lock.
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 support@samita.io
Last updated
Was this helpful?