Skip to Content
Menu
This question has been flagged
2 Replies
7012 Views

I don't have technical knowledge, is there a way to do this out of the box without development?

Avatar
Discard
Best Answer

Website --> Configuration --> Menus

Avatar
Discard

But this way users can still access for example product pages (eg. "/shop/product/product-name").

Search engines especially like indexing such pages and that is easy way for unregistered user to go there straight from google.

Only way I have found sadly involves development. I did something like this in my custom controller:

class DisableShop(WebsiteSale):

def shop(self):

return request.not_found()

class DisableProduct(WebsiteSale):

def product(self):

return request.not_found()

Best Answer

Have you tried login to shop module?

https://apps.odoo.com/apps/modules/12.0/login_to_shop/

Avatar
Discard