Creating Lock for the whole website
Steps to manage
Open the app > click Locks > click the Create Lock button
Choose the type of lock you want > Whole website > Create lock:

Set up Name for the lock.
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]
Last updated
Was this helpful?