This tutorial will help you to answer the question “How we can Automatically create and assign customer group in magento ?”.

For creating and assigning customer group, we have to create :

1/ Create app/code/local/Inbusiness/Group/etc/config.xml



2/Create app/code/local/Inbusiness/Group/Model/Observer.php to create specific customer group (customer email) and assign it to the customer.


3/ Create app/etc/modules/Inbusiness_Group.xml to declare Inbusiness_Group module




Remember to refresh your caches to see the changes. Happy coding !