Magento Tutorials

How to Establish a Default Group for Newly Created Customer Accounts in Magento 2.

Hello, Magento Friends!

Do you ever want to give discounts or apply rules to only a specific customer group? Follow this guide to discover the use of customer groups, default group configuration for new registration, and more.

What are customer groups in Magento 2?

The default Magento provides the functionality to customize the store and better the user experience. An online retailer has the capability to fabricate their customers into different groups as per the categories they possess.

You can utilize this facility when you want to differentiate your B2C and B2B customers.

How to Set Default Group for New Customer Account in Magento 2

You can have four different kinds of customer groups in Magento 2:

  • General
  • Not Logged In
  • Retailer
  • Wholesale

Out of these 4, a new account automatically comes under the General category. To change the default category of new registrations, perform the following execution from the Magento 2 admin account.

  • Go to Stores → Configuration → Customers → Customer Configuration.
  • Expand the Create New Account Options tab.
  • Assign the Enable Automatic Assignment to Customer Group to Yes.
  • Change the Default Group.

Besides, you can also produce your own custom group which is surprisingly very easy to configure. Let us see how!

How to add a new customer group?

  • Go to Customers → Customer Groups.

There you will see four variants of customer groups that are editable or deletable. 

  • Click on Add New Customer Group

  • Enter the Group Name and assign a Tax Class to it.
  • And Save Customer Group.

Run command line:

bin/magento cache:clean

Lastly, perform testing. Create a new customer account. Run reindex customer_grid by command line:

bin/magento indexer:reindex customer_grid

Summing It Up!

This was creating a new customer group through the admin panel. You can also Create New Customer Groups Programmatically in Magento 2.

There are countless things you can perform with customer groups if you augment their functionality. Manage Customer Groups and separate them based on their necessities. Follow the above directions to Set Default Group for New Customer Account in Magento 2.

Restrict Shipping and payment Methods for specific customer groups easily. Buy Now!

Happy Reading!

Click to rate this post!
[Total: 1 Average: 5]
Gaurav Jain

Gaurav Jain is Co-Founder and Adobe Certified Expert-Magento Commerce Business Practitioner. Being Computer Engineer?‍? and possessing Extensive Marketing skills he handles all kinds of customer Queries and his Happy? & Helping? Nature makes customer's day Delightful. When he isn’t working, you’ll find Gaurav Reading on Books? or Traveling?. Also, he is Speaker at Magento Meetups.

Recent Posts

Improving Error Handling and Transition Management in Remix with useRouteError and useViewTransitionState

In modern web development, seamless navigation and state management are crucial for delivering a smooth…

6 days ago

Magento Open Source 2.4.8-Beta Release Notes

Magento Open Source 2.4.8 beta version released on October  8, 2024. The latest release of…

1 week ago

How to Create Catalog Price Rule in Magento 2 Programmatically?

Hello Magento Friends, Creating catalog price rules programmatically in Magento 2 can be a valuable…

1 week ago

Top 10 Tips to Hire Shopify Developers

As the world of eCommerce continues to thrive, Shopify has become one of the most…

2 weeks ago

Managing Browser Events and Navigation in Shopify Remix: useBeforeUnload, useHref, and useLocation Hooks

Shopify Remix is an innovative framework that provides a streamlined experience for building fast, dynamic,…

2 weeks ago

Ultimate Guide to Hiring a Top Shopify Development Agency

Building a successful eCommerce store requires expertise, and for many businesses, Shopify has become the…

2 weeks ago