Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4 Odpovědi
2833 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit

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

Related Posts Odpovědi Zobrazení Aktivita
0
říj 24
1623
0
kvě 24
3159
2
bře 24
1842
1
úno 24
1536
2
bře 25
2379