Customer visibility
Show navigation links to the right storefront audience.
Visibility rules control whether a menu link is shown in matched storefront navigation. Existing links are visible to everyone unless you add a condition.
Set a rule
- Open a menu and select the link.
- Expand Conditions in the appearance editor.
- Set Show this link to.
- If using a tag rule, enter one exact Shopify customer tag.
- Save the item and publish the menu.
| Audience | Who sees the link |
|---|---|
| Everyone | All shoppers; removes a previous restriction after publishing |
| Logged-in customers | Shoppers signed in to a storefront customer account |
| Guests only | Shoppers who are not signed in |
| Customers with a specific tag | Signed-in shoppers with the exact configured Shopify customer tag |
A tag must contain 1–255 characters. This field accepts a single tag, not a list of tags or a segment query.
Example: a trade menu
For a link intended for approved trade customers, use Customers with a specific tag and enter the tag used by your store, such as approved. Test with a signed-in matching customer, a signed-in non-matching customer and a guest.
Test on the storefront
The editor preview deliberately keeps links visible so you can edit them. Check the real storefront with the app embed enabled. Reload after signing in, signing out or changing a customer’s tags.
Rules apply to matched desktop links and supported mobile submenu controls. Hiding a parent also hides its nested submenu. Dynamically inserted navigation is checked again by the storefront runtime.
Visibility is not access control
Hiding a link does not protect the destination page. The URL and published configuration can still be inspected. Protect restricted content separately.
Limits
- The app embed and JavaScript are required. A link may briefly appear before its rule runs.
- Conditional links need a unique label and destination within their menu; ambiguous rules block publication.
- An unconfirmed visibility decision hides a matched restricted link when the runtime runs.
- Theme matching must succeed. An unusual navigation structure may need theme integration help.
For strict no-flash requirements, a developer must implement the condition in the theme’s own navigation rendering.