Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda

How Do I hide the website store from public users?

Avatar
Buang
Penulis Jawaban Terbai

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
Buang

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

Jawaban Terbai

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
Buang
Jawaban Terbai

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

Avatar
Buang

i wonder if anybody has a working solution for V17

Jawaban Terbai

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
Buang

the page properties in 17 are not available for the shop

not working in odoo17

Post Terkait Replies Tampilan Aktivitas
4
Apr 25
9011
1
Agu 23
2694
2
Jun 25
2338
1
Mei 24
3125
5
Jan 25
2758