Skip to content
English - Australia
  • There are no suggestions because the search field is empty.

Restricting Menu Option Visibility to Logged-In Customers

A common requirement for B2B and trade-based websites is to hide certain links and content unless you're logged in - ensuring that only registered customers or approved account holders can browse and review this content.

 Overview

Web Ninja allows you to control which users can see specific areas of your website, including links to certain files and different areas of the site. This type of restriction can serve several purposes:

  • Privacy — Keeping your trade-specific content, catalogues etc. confidential from competitors or the general public.
  • Trade or Wholesale  content access — Ensuring only approved customers can view trade-only promotional information.
  • User engagement — Encouraging visitors to create an account or log in before they can browse certain trade-specific content, helping to build your customer database.
  • Personalised experience — Allowing you to tailor what different customer groups can see once they are logged in.

This guide explains how to configure your site's navigation menu so that the Trade Resources menu item is only visible to logged-in customers.

Before You Begin

This configuration controls the visibility of the menu item that links to specific content on your site. Once restricted, visitors who are not logged in will not see the restricted link in your navigation menu, effectively preventing general access to this content.

NOTE: Depending on your site configuration, you may also need to apply additional restrictions at the category or product page level to fully prevent direct URL access to areas like products and category pages. If you are unsure whether further restrictions are required for your setup, contact the Web Ninja support team at support@webninja.com.au.

Scenario Overview Video

(examples shown are for hiding links to product pages - however as noted above - additional restrictions may be required for preventing products and categories from being indexed by Google and preventing general public from finding your products via search engines)

 

Steps

From the Web Ninja admin area, navigate to Content → Menus.

Locate the relevant menu and click View Menu Items to see all items within that menu.

Find the menu item named All Products and click Edit.

In the edit panel, locate the Who Can See This field. This setting controls which users are able to see the menu item on the front end of your website.

Click the drop down and select Logged In Customers.

Click Save to apply the change.

Once saved, the All Products menu item will no longer be visible to visitors who are not logged in. Customers who have an account and are logged in will continue to see and access the product catalogue as normal.

Verifying the Change

To confirm the restriction is working correctly:

  1. Open your website in a private or incognito browser window. Alternatively just make sure that you are not logged into the site.
  2. Check the navigation menu. The All Products item should no longer be visible.
  3. Log in with a customer account and confirm that the menu item reappears as expected.

If the menu item is still visible to logged-out visitors after saving, try clearing your browser cache and refreshing the page. If the issue persists, contact support@webninja.com.au for assistance.

Conclusion

You can follow these same steps to hide/restrict who can see other content on the site, including custom blocks and CTA content sections on the home page.
If you have Customer Types enabled on your site, you can also restrict which customer types are able to see specific content as well.