cancel
Showing results for 
Search instead for 
Did you mean: 

How to set Default Group to new customer account in Magento CE 2.x

How to set Default Group to new customer account in Magento CE 2.x

Hi Everybody !

 

Today, I introduce everybody a best practice. How to set Default Group to new customer when they register new account successfully in your store.

 

See video how i can do it here: https://www.youtube.com/watch?v=WIkMyK0_SMQ

 

As far as i know, Magento allow to manage the customers via group. We have four groups name by default in Magento: NOT LOGGED IN, General, Wholesale and Retailer. When the customer registers new account, the system will automatical set default group "General" to them.

 

However, in this case, i added new a customer group with the name: VIP Members and i want to set the new customers to this group, so how can i do it?

 

It is very simple, Magento CE 2.x support this feature by default.

 

You login into the Admin Panel

 

Goto Stores -> Configuration -> Customers -> Customer Configuration

 

Click on "Create New Account Options" tab, after that set the option Default Group to group you want to be and click Save Config button.

 

I added new a customer group with the name: VIP Members. You can add any new customer group by the way.

 

Goto Stores -> Other Settings -> Customer Groups

 

After that, you set new group to Default Group.

 

Run command line:


bin/magento cache:clean

 

The finally, Testing by creating a new customer account and see results

 

After creating new customer account, you need to run reindex customer_grid by command line:


bin/magento indexer:reindex customer_grid

 

I wish you success ! Don't forget subscribe my channel on Youtube, let's get the newest notification about the tutorial related to Magento 2: https://www.youtube.com/channel/UC4Et0-od66_hy5AswqBbKFQ

 

Thank for your reading !