I have a normal B2C store. Now I would like to add B2B users to this shop.
How do I create a second user registration form for B2B users?
Users created here should automatically be added to a B2B user group but need a manual activation.
I found many extensions around this topic but the turn the shop into B2B online shops, like hiding prices. Maybe this will do the trick, not sure how to configure it for what I need...
Update
I created a CMS page for the b2b login and added the login form:
{{block type ="Mage_Customer_Block_Form_login" template="customer/form/login.phtml" }}
With a copy of login.phtml
I can create a custom login.
How do I change the customer group for user registration here? Also it would be nice to disable the account after creation.
Update 2
I removed the CMS page and created a new module with b2b page containing a block for login and a copy of the customer register block. I also copied and modified the createpostAction()
.