An introduction to Locksmith

Welcome! Locksmith is a simple yet powerful tool to help you make sure the right people see the right things in your Shopify store.


Locks are created using the search bar within our Locksmith app. You can search for most resources in your store by name:

A lock restricts access to something on your shop.

You can lock:

  • Your entire shop
  • Pages
  • Products
  • Collections
  • Prices
  • The shopping cart
  • The login page
  • The registration page (type 'register' into the Locksmith search bar)
  • Product variants
  • And more, with custom Liquid locks: Create a custom lock by clicking the Start a Liquid Lock link above the Locksmith search bar..

After searching, once you select the search result you want to hide and click Save. You'll see some useful options, such as:

  • Is the lock currently active?
  • Should it also protect the products in this collection? (Disabling this means only the collection page itself will be locked.)
  • Should it hide the collection, and it's products, from search results and other lists?
  • Should it hide links to this resource from navigation?
  • Under Advanced: Is this a manual lock? (More on that here.)

You'll see different options depending on what type of resource you’ve locked.


A key permits access to the locked resource based on your criteria. They are created on the lock page under the "Keys" header:

Keys allow you to specify the exact conditions that give your customers access to the locked resource.

  • Check out the full list of keys in the dropdown menu on a lock page.
  • You can also create your own custom keys with Liquid. Create a custom key by choosing custom Liquid from the keys menu.

OR versus AND

Locksmith gives you flexibility to add multiple keys and logically chain them together to create unique unlock conditions.


  • When you set up your key, you can create another key right away, by clicking on Add Another Key. This button allows you to add another separate key to your lock.
  • Keys connected by the OR operator can individually open your lock whether or not the conditions on the other keys are met.


  • Adds another condition to the current key. Choose your first key, and then click "and" to add a second condition.
  • If you connect key conditions with AND, all of those conditions must be met before the visitor gets access.

Inverting Keys

Use the inverse of a key for added flexibility.

Inverting a key:

  • In the key, click the "invert" box in the upper right. 
  • This creates the opposite effect for the key. 
  • For example: Permit if the customer is not visiting from the United States. --When used on the Locations key.

Sounds great! I want to:

... protect all of my products:

  • Shopify gives you a collection that contains your entire catalog by default.
  • Type “all” into the Locksmith search bar, and choose Collection: All.

... require a passcode:

  1. Lock the resource by searching for the name in the Locksmith search bar.
  2. Choose the key Permit if the visitor gives the passcode..., and set your desired passcode.
  3. Customize what your visitor sees in the field labeled Custom Input Prompt.
  4. You can use multiple passcodes with the key Permit if the visitor gives one of many passcodes.
  5. Check out this guide to passcode keys for more info: Passcode Keys

... lock my wholesale products:

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us