Skip to content

Commit daa6c2e

Browse files
committed
[IMP] website: hide a dynamic menu to headers and footers
task-5003509
1 parent bb4b5d7 commit daa6c2e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

content/applications/websites/website/structure/header_footer.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,25 @@ editor, then, in the :guilabel:`Mega Menu` section:
150150

151151
To finalize changes, click on :guilabel:`Save`.
152152

153+
Hide a dynamic menu item for non-logged in users
154+
------------------------------------------------
155+
156+
To hide a dynamic menu item (i.e., a menu item generated automatically by Odoo, for example, when
157+
you install an app or module, such as `Events`, `Courses`, etc.) for non-logged in users, follow
158+
these steps:
159+
160+
#. :ref:`Enable developer mode <developer-mode>`.
161+
#. Go to :menuselection:`Website --> Configuration --> Menus`.
162+
#. Expand the list of menus for the relevant website if needed, then click the menu item you wish to
163+
hide.
164+
#. In the :guilabel:`Visible Groups` section, click :guilabel:`Add a line` under
165+
:guilabel:`Group Name`.
166+
#. Search for the group :guilabel:`User types / Portal`, select it, then click :guilabel:`Select`.
167+
#. Save.
168+
169+
.. tip::
170+
To hide the `Shop` menu item, :doc:`restrict ecommerce access to logged-in users <../../ecommerce/customer_accounts>`.
171+
153172
Footer design
154173
=============
155174

0 commit comments

Comments
 (0)