For the complete documentation index, see llms.txt. This page is also available as Markdown.

Hide from menus

Remove a protected item's links from your storefront navigation menus.

This behavior is available on locks that protect Products and variants, Collections, Pages, Blogs and articles, or a Specific URL. It removes any navigation menu link pointing to the protected item, so it doesn't show up as an option for visitors browsing your storefront's menus.

The Hide from menus checkbox is confirmed to appear in the Blocked visitor behavior panel for Products and variants and Collections content types. Other content types listed above may show the same option, a variation, or none — check the panel for your specific content type.

Reach this setting

  1. Open Locks and create a new lock, or open an existing one to edit it.

  2. On the Lock setup tab, choose a content type that supports this behavior — Products and variants, Collections, Pages, Blogs and articles, or Specific URL — and select what to protect.

  3. Click the Unlock rules tab, then add your access rules in the main column.

  4. On the same Unlock rules tab, find the Hide from menus checkbox in the Blocked visitor behavior panel in the right-hand sidebar.

The Hide from menus checkbox in the Blocked visitor behavior section of the lock editor.
Turn on Hide from menus to remove links to the protected item from your storefront navigation.

What it does

When turned on, any link in your storefront's navigation menus that points to the protected product, collection, page, article, or URL is removed from those menus. Visitors browsing your menus simply won't see it listed as an option — the menu behaves as if the link were never added.

Click Save once you've turned this on for the lock.

Last updated

Was this helpful?