Restricting customers to a specific collection
With Locksmith, it is simple to lock down a specific collection, so that it can only be viewed by a specific set of customers. However, some merchants want to take it one step further and make sure that those customers can only access their collection, while the rest of the store is restricted to them.
Add a lock to the collection that you want these customers to access. Use the search bar in Locksmith to search for the collection by name:
Under "Keys", choose how these customers will gain access. You can use whatever method of access you want. The most common way of granting access in this scenario is to use "customer tags" to grant access:
Make sure the "Force open other locks" setting is turned on for this lock. Use the following guide to do this: Using the "Force open other locks" setting . This setting is important.
In order to make sure that these customers can't see the rest of your store, you need to actually add a lock to your "entire shop":
For your key condition, you need to use the opposite of the first key condition:
For this key:
1. Using the following to invert the key: Inverting keys. The result is the opposite of the original key condition.