magepsycho / magento2-disableregistration
Magento 2 Disable Customer Registration
Installs: 245
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 1
Type:magento2-module
This package is auto-updated.
Last update: 2024-10-22 10:51:32 UTC
README
Magento 2 Disable Customer Registration
Overview
Magento 2 Disable Customer Registration extension allows the store owner to disable the customer registration as per store.
By default, customer registration functionality is available on the storefront.
There are cases when the owner wants to disable the registration, where reasons can be any one of the following:
- Only allow admin to create the customer accounts (B2B)
- Temporarily block the new customer from placing the orders
- Use custom registration form for B2B, marketplace users
- etc.
With this extension, you can completely turn off the registration functionality from the storefront (link to register, registration form, etc.)
Key Features
- Enable/disable the registration as per store
- Configure custom message to be displayed on the login page
- Restrict direct access to registration page (
/customer/account/create
)
If you need the complete restriction functionality for your store in different ways (disabling registration, requiring customer approval, restricting access to special customers while allowing guest access to certain pages), you can use Magento 2 Store Restriction Pro Extension
Feature Highlights
Disable Customer Registration
You can configure the settings to enable/disable the customer registration(account creation) option as per store.
Also, you can configure the custom message that will be displayed on the login page.
Once registration option is disabled, this extension will
- Remove "Create an Account" link from header
- Remove "Create an Account" button from the login page
- Display custom message on the login page
- Restrict direct access to registration page (
/customer/account/create
)
🛠️ Installation
1 Using Composer (Preferred)
composer require magepsycho/magento2-disableregistration
2 Using Modman
modman init
modman clone git@github.com:MagePsycho/magento2-disable-customer-registration.git
3 Using Zip File
- Download the Extension Zip File
- Extract & upload the files to
/path/to/magento2/app/code/MagePsycho/DisableRegistration/
After installation by either means, activate the extension with following steps
- Enable the module
php bin/magento module:enable MagePsycho_DisableRegistration --clear-static-content
php bin/magento setup:upgrade
- Flush the store cache
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
- Go to Admin > CUSTOMERS > Disable Registration > Manage Settings
Live Demo:
Changelog
Version 1.0.0 (2022-01-22)
- Initial Release.
Authors
Contributors
To Contribute
Any contribution to the development of Magento 2 Disable Customer Registration
is highly welcome.
The best possibility to provide any code is to open a pull request on GitHub.
Need Support?
If you encounter any problems or bugs, please create an issue on GitHub.
Please visit our store for more FREE / paid extensions OR contact us for customization / development services.