콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

How Do I hide the website store from public users?

아바타
취소
작성자 베스트 답변

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


아바타
취소

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

베스트 답변

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?  


아바타
취소
베스트 답변

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

아바타
취소

i wonder if anybody has a working solution for V17

베스트 답변

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.

아바타
취소

the page properties in 17 are not available for the shop

not working in odoo17

관련 게시물 답글 화면 활동
4
4월 25
8087
1
8월 23
2177
2
11월 24
1525
1
5월 24
2465
5
1월 25
2210