This is my first full mod. I hope you like it.
This mod adds a business or home user function when creating an account. Once created, the customer cannot change the type of account themselves, it has to be requested and done through the admin panel.
I have also included an optional section in this contrib, which will allow different maximum addresses for home and business customers. This is set through the admin panel, so a home user could be given 2 addresses and a business user could be given 5, for example.
The requirement for entering home or business user can be turned on and off via the admin panel, and if the extra addresses part has been installed and the requirement turned off, the max addresses defaults to the home user setting.
Screenshots Included
If you have any issues or updates, please use the forum
The forum for this contrib is
http://forums.oscommerce.com/index.php?showtopic=233891
Legend: 
Download

Report
Dont download the file of kustomjs, there is no need to add another table in the DB!
There was an error in the instruction, entry_usertype instead of customers_usertype. So everything works fine now, all credit goes to the author!
Complete package, fixed install instruction.
Somebody forgot to put in entry_usertype in customer sql so I am going to add this sql
Ok, found a few bugs like a missing Alter Table query and duplicated incorrect query statements in admin/customers.php
I think this is now 100% correct!!
** This is the full package **
Fixed a typo error in SQL update file:
Changed Step 7 or customer_home_bus.sql
INSERT INTO `configuration` ( `configuration_id` , `configuration_title` , `configuration_key` ,
`configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` ,
`last_modified` , `date_added` , `use_function` , `set_function` )
VALUES (
NULL , 'Account Type', 'ACCOUNT_USERTYPE', 'false', 'Allows for setting of home or business
user', '5', NULL , NULL , '0000-00-00 00:00:00', NULL , 'tep_cfg_select_option(array(''true'',
''false''),'
);
Old file incorrectly entered ACCOUNT_TYPE instead of ACCOUNT_USERTYPE
This is the full package
This is my first full mod. I hope you like it.
This mod adds a business or home user function when creating an account. Once created, the customer cannot change the type of account themselves, it has to be requested and done through the admin panel.
I have also included an optional section in this contrib, which will allow different maximum addresses for home and business customers. This is set through the admin panel, so a home user could be given 2 addresses and a business user could be given 5, for example.
The requirement for entering home or business user can be turned on and off via the admin panel, and if the extra addresses part has been installed and the requirement turned off, the max addresses defaults to the home user setting.
Screenshots Included
If you have any issues or updates, please use the forum
The forum for this contrib is
http://forums.oscommerce.com/index.php?showtopic=233891