Magento2 B2b Disable Customer Registration
claudioferraro/magento2-b2b-disable-customer-registration
Disables customer registration on the frontend. Removes the registration link and form, useful for B2B stores that manage customer accounts internally.
Build Tests
Code Quality
Tested on Magento 2.4.8-p3
Recent Test History
Each release is tested against the latest Magento version at that time.
Share This Module's Status
README
Loaded from GitHubMagento 2 - Disable customer registration
About this fork
This module is a fork of sbodak/magento2-b2b-disable-customer-registration. The original module by Bodak is no longer maintained, so I continue development and maintenance here.
Overview
This module enable possibility to disable the customer registration. It can be useful for B2B customers, if we don't want to allow them register by themselves. Extension will remove link to register page and registration form from login page.
Compatibility
- Magento 2.4.x
- PHP >=8.0
Installation details
- Run
composer require claudioferraro/magento2-b2b-disable-customer-registration - Run
php bin/magento module:enable ClaudioFerraro_DisableRegistration - Run
bin/magento setup:upgrade - Run
bin/magento clean:cache
Configuration details
- Go to Magento admin panel
- Find option in
Stores > Configuration > Customers > Customer configuration - Under the
Create New Account Optionstab you will find theDisable frontend customer registrationoption -
Enablethis option to activate the plugin
Module configuration - administration panel

Remove registration form - frontend view

Uninstall
- Run
composer remove claudioferraro/magento2-b2b-disable-customer-registration
License
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.