Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
4 Antwoorden
2934 Weergaven

Everything I read is for older versions, which of course those steps no longer work on the new version. 

So I'll ask again hopefully someone can confirm. This is for V17 Online version.

Disable new user registration (Login ok but not registration) with eCommerce APP enabled.

If this is not an option to disable, can we atleast leave the registered account as a restricted account where they cannot make a purchase (default to a zero price, price group or another means of disabling checkout for them)?

Avatar
Annuleer
Beste antwoord

create a CSS file (hide_signup.css):

a[href*="/web/signup"] {

    display: none !important;

}

call in the ___manifest__.py

'assets': {

'web.assets_frontend': [

'your_module/static/src/css/hide_signup.css',

],

}

hopefully this advice works


Avatar
Annuleer
Beste antwoord

Hi Rajesh,

It works, but in Login page, is still a 'don't have an account' button, hohowever after redirect no signup forum (disable), but is there some way to remove 'don't have an account' button? o just hide it

Avatar
Annuleer
Auteur Beste antwoord

Thank you Rajesh!

This work around should be a good. I'm not to worried about users trying to find ways to get to the signup page. And I can register new accounts manually.

But I have 1 more question. These changes to the html, will the be overridden when updates are done to the version I'm on?

Avatar
Annuleer
Beste antwoord

Hey Gabriel, 

Since Odoo Online doesn’t allow direct customization, you need to rely on settings and potentially some technical workarounds:

1. Disable Guest Checkout from website setting (which I guess you already know after reading lot of frustrating answers)

2. Hide the Signup Option ( below way I think can be workaround)

technical > view modification  (I commented that signup-page view)


3. Hide the Sign up redirection on the login page as well . again its view html moditication

these above step - again are not proper way but workaround.

Best way is to take your odoo to the Odoo.sh - to have more customization capabilities. which is obviously needed as Odoo ecommerce is not - ready made for the B2B wholesale. 


On top of this , if further need to restrict the existing user - it can be done with the combination of defiing separate access rights and assigin it to all the ecomerce users and reducing the User interface with the help of View html modification can be achieved.

I hope I point you to some workable direction.

Thanks,

Rajesh 
ERP Consultant | Wholesale | Manufacturing| Integrations 
Silent Infotech Inc ( https://silentinfotech.com )

Avatar
Annuleer

Hi Rajesh,

It works, but in Login page, is still a 'don't have an account' button, hohowever after redirect no signup forum (disable), but is there some way to remove 'don't have an account' button? o just hide it

Gerelateerde posts Antwoorden Weergaven Activiteit
0
okt. 24
1713
0
mei 24
3283
2
mrt. 24
1913
1
feb. 24
1628
2
mrt. 25
2494