Skip to Content
Menu
This question has been flagged

How Do I hide the website store from public users?

Avatar
Discard
Author Best Answer

This is a quick workaround solution, however, if someone has the URL for the shop page they will still be able to access the page or the product page, hence any SEO done will lead public users to the page.

Public User:
A public user is a website visitor, who has not signed in.

Activate the developer mode from the General Settings


To have the shop page in the website, eCommerce Application needs to be installed.

The Out of the box shop page will not be visible under the pages menu for us to add conditions to it. Hence, we will have to create a secondary page for the Shop.

Go to Website app, Select the website editor, press the “+NEW” and press page.


In the Pop-up page, specify the name of the page as Shop and have the option to add the menu enabled.

 


With this, the newly created Shop page will be linked to the original shop page and there will be 2 Shop menu items available on the website.


 

Go to the website, Site -> Pages.


Select the Bug icon next to the Shop Page


Set Visibility to Signed In

 

 

Since there are 2 Shops in the menu, we will need to remove the original Shop from the menu.

Select Site -> Menu Editor.


Remove the Original Shop Menu Item by pressing the trash icon next to it and save the changes.

 


Once the changes are made and saved, the shop page will no longer be visible to the Public user and will only be visible to users who sign in


Avatar
Discard

well... it's not visible, but it is still there... go to 'yoururl.com'/shop and the page will pop up

as stated with url/shop it still appears so its not working

Best Answer

I tried this, and its a decent work around for now.  However, it is only visible to some logged in users, does anybody know why?  What have  done wrong?  


Avatar
Discard
Best Answer

arsh23
Your tips doesn't seems to work on the shop.
Could you help ?
Thanks

Avatar
Discard

i wonder if anybody has a working solution for V17

Best Answer

If you are using Odoo 17, the Website module allows you to control this via a setting in the Page Properties. To enable this, log in as a user with Website Editor privileges, go to one of the pages on the website, open Pages > Page Properties from the menu on the top left, go to the Publish tab and select Signed In in the Visibility field.

Avatar
Discard

the page properties in 17 are not available for the shop

not working in odoo17

Related Posts Replies Views Activity
4
Apr 25
7600
1
Aug 23
1991
2
Nov 24
1221
1
May 24
2194
5
Jan 25
1983