Creating Lock for the whole website

Steps to manage

  1. Open the app > click Locks > click the Create Lock button

  2. Choose the type of lock you want > Whole website > Create lock:

  1. Set up Name for the lock.

  2. 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):

  1. 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

  1. Click Save to update the changes

Check the result on the front store

Last updated

Was this helpful?