Skip to Content
Menu
This question has been flagged
3 Replies
3647 Views

Ive finally got the site up on a public server, I want users to go and see my products without seeing prices because prices vary. This is what my website looks like when logged out:


So when the user is not logged in.  Does this mean I need to have my users log in?

This is what it looks like when Im logged in as admin:

Here is the website_portal module installed:


Here are my Settings screenshots:

Avatar
Discard

And how does it look like when you are logged in?

Author

Ermin, Ive updated the OP with a picture of what it looks like when Im logged in.

You should show a screenshot of the shop page, when logged in.

Author

I did post a screenshot of when its logged in. The products are showing up fine. The issue now is that the ecommerce catalog without price module from Roberto Barreiro fails to install because of it cant locate the parent view for the xpath text-danger mr8

Best Answer

Hi Santiago, Its actually odoo default feature, if you have not logged in, then odoo treats it as a public user, who is not having all the accesses.

I think its not safe to give access to the public user,but if you want to go with your requirement you can follow the following steps:

1. You can find this public user by using filter as active="false" at users.Then make that public user as active.

2. Next go to settings->technical->security->Record Rules and find the rule with name "Public product template" and make this rule as inactive[active = false] or remove the public user group from the Groups Tab.Then you will be able to see the website products even if, you are not logged in.

 

Avatar
Discard

The public user can see the products by default, as long as they are properly set up and published.

Author

Ok if you recommend against it then its ok. So I know now that it is necessary for a user to register. So Ill try that. But when I go to the page as an unregistered user, I only get a Sign In link, not a register link. How is the user supposed to register?

Hi Santiago, for more information you can follow this url : https://www.odoo.com/apps/modules/8.0/website_portal/

Its available for odoo 8,odoo 9 and odoo 10.

Author

Raaj, Ive posted an image of that module in my OP above. Apparently I already have it installed!

Santiago that's correct now you need to go to settings->general settings and there you need to activate the customer portal, then at login page you will get the signup option.

I have added the screenshots also for your reference, if they are not clearly visible save them to a location and can see.

Author

Thanks Raaj, but as you can see from my updated OP, I dont have those options in the Settings.

To see those options in general settings you need to enable the developer[debug] mode.

Please also enable "allow external user to signup" which you can find at general settings only.

Author

Thanks, i got it in dev mode, selected public user as default. Created my first user but I get a No Products Defined message in Shop. I guess I have to configure the products. Could you give me a link to study how to configure the products for these new users? Thx

Best Answer

There is an app available to hide the price and the shopping cart: https://apps.openerp.com/apps/modules/10.0/ecommerce_hidden_price/

Or one for free: https://apps.openerp.com/apps/modules/9.0/website_sale_hide_catalog_price/

Avatar
Discard
Author

Thanks, I downloaded the free one and it doesnt work. I get a parent view xpath error: https://www.odoo.com/forum/help-1/question/error-when-installing-ecommerce-catalog-without-price-module-114090