Magento 2 Group Selector / Switcher
It allows customers to select their required customer group at registration, using group drop-down or group code.
Compatibility
Community: 2.1, 2.2, 2.3, 2.4Enterprise: 2.1, 2.2, 2.3, 2.4
M2 Group Selector / Switcher
This Magento2 Extension allows customers to select their required customer group at registration, using group drop-down or group code.
Suppose say you want to have a store (B2B) to offer different pricing for different customer types. For example you want to show special pricing to only wholesale customers and regular pricing to retail customers.
To make this happen you should allow your user to select the customer group during registration.
Or you invite the user with group code which they you can use during registration. And the user will be assigned to the group associated with the code. In this scenario this is the best suited extension.
Key Features
1. Associate Customer Group Using Drop-down
You can show the selected list of customer groups as drop-down at registration and my account edit pages. So that user can select the group of their choice during registration or after registration. This feature can be very handy for B2B stores.
1.1 Group Drop-down at Registration
Shows selected groups as drop-down in registration page.
1.2 Group Drop-down at My Account Edit Page
Gives the option for your customer to edit the group from My Account Edit page. Also it can be made non-editable (just display).
2. Associate/Switch Customer Group Using Code
If you want to associate/switch customer group based on some code, then this option is for you. It allows user to enter group code and the user will be assigned to the group associated with the code.
For this you just have to chose 'Group Selector Type' to 'Group Code' and add group codes from settings (refer to the below screen-shot).
2.1 Group Code at Registration
Similarly to group drop-down, you can have group code field at Registration and My Account Edit Page.
2.2 Group Code at My Account Edit Page
Group code field can be editable or non-editable based on the settings.
Installation
1. Download the extension .zip file and extract the files.
2. Copy the extension files from src/ folder to the {your-magento2-root-dir}/
3. Once you have copied all the extension files to the proper directory, run the following commands:
php bin/magento module:enable MagePsycho_GroupSwitcherPro --clear-static-content
php bin/magento setup:upgrade
php bin/magento cache:flush
# Deploy static content (in Production mode only)
rm -rf pub/static/* var/view_preprocessed/*
php bin/magento setup:static-content:deploy
4. Go to Admin > Stores > Configuration > MagePsycho Extensions > Group Selector Pro > Configure your settings here...
Live Demo:
v0.1.5
released on 2023-04-24- fixed Fixed group settings in v2.4.4
- added Refactored the code
- added Tested the compatibility with PHP 8 & Magento v2.4.6
v0.1.4
released on 2020-05-24- changed Fixed customer group set to default when saved from My Account > Account Information
- added Tested the compatibility with Magento 2.3.5
v0.1.3
released on 2020-05-15- changed Refactored the code
- changed Fixed empty customer group issue when the extension is disabled in Magento 2.3.4
v0.1.2
released on 2019-10-31- changed Refactored the code
- changed Fixed the system configuration tab issue
- added Tested the compatibility with Magento 2.3.x
v0.1.0
released on 2017-05-29- added Initial Release
Extension
Why is the customer being assigned to the default group even if the group code is wrong?
Why is the customer always assigned to the default group even when I select a specific group from the dropdown?
Why is the customer group dropdown or group code not appearing on the customer registration page in the storefront?
(Alternatively, you can copy the relevant code from the module template file to your theme template file)
Can a group dropdown be added to the checkout process to calculate the order amount based on the tax rule of different customer groups?
Generic
How can I pay for MagePsycho extensions?
If I buy an extension, how would I get it?
After you make a purchase, the order will appear in the "My Orders" section of your personal account page.
As soon as the order status becomes completed the purchased extensions can be downloaded from "My Downloads" section.
How can I get the license key(s) for the purchased extension?
In case if you have't received any license key(s), please Contact Us with the order #.
Are your extensions open source or encrypted?
Do you provide Magento customization service?
Can I get a refund if an extension doesn’t suit me?
After 30 days from the date of purchase, the refund is not applied. You also cannot ask for a refund for the installation service or custom service.
If you are looking for a specific solution for your store, please Contact Us.Can I request a free trial?
But if you buy an extension and it doesn’t suit you in any way, you can request a refund with no risks on your side.
Moreover, most of our extensions have demos, where you can see how our modules work.
What is the license policy? On how many websites can I use MagePsycho extensions?
In the case of additional licenses, we do provide a good discount.