Odoo 18 provides flexibility in customizing your website according to your business needs. If you want to restrict the shop page visibility only to signed-in users and also add custom navigation items like a Contact menu, this guide will walk you through the process.
Step 1: Hide the Shop Page for Public Users
By default, the shop page is visible to all visitors. To make it accessible only to signed-in users:
Navigate to your Odoo backend.
2. Go to Website → Site → Pages.
3. Find the Shop page from the list.
4. Click the Bug icon (Edit Page Settings) next to the shop page.
5. In the settings, locate the Visibility option.
6. Set the visibility to Signed In.
7. Save the changes.
Step 2: Add a Custom Menu Item (Contact)
After adjusting the shop page settings, you can add custom menu items to enhance navigation.
Go to the Website module.
Under the Site menu, click on Menu Editor.
3. Click the Add Menu Item button.
4. In the popup:
Set the Menu Item Name as Contact.
Enter the desired URL or Email address (e.g., /contact or mailto:info@example.com).
Click OK.
With these simple steps in Odoo 18:
The Shop page will only be visible to logged-in users.
A Contact menu button will be displayed for easy navigation.