Hiding navigation links for locked resources
Use the Locksmith app to hide navigation links in your Shopify Online Store channel
Last updated
Use the Locksmith app to hide navigation links in your Shopify Online Store channel
Last updated
Locksmith allows you to hide navigation links that point to locked resources - only showing them to visitors with access to your locks. This is turned on via the settings on your lock page:
You'll find this option on locks for the following resource types:
Product
Collection
Page
Blog
Liquid locks
Using third party apps to create your navigation will likely prevent Locksmith from being able to correctly hide your navigation links.
Locksmith is generally not able to hide navigation menu links that are a part of a mega menu, whether via third party apps or a theme setting.
This setting can only be turned on via your lock settings. This means that links pointing outside of your Online Store cannot be hidden through Locksmith.
The way you add in the links when creating your navigation menus may affect Locksmith's ability to remove links in your menus.
Specifically, it's important that you search for and select the resource directly and that you do NOT simply paste/type in the link. Selecting the resource directly means that there is a liquid resource associated with it, and Locksmith can more consistently detect the correct lock status that way. From the Online Store > Navigation area in your Shopify admin, It should look something like this when setting up: