Magento 2 Disable Registration
This extension allows the store owner to disable the customer registration as per store.
Compatibility
Community: 2.3, 2.4Enterprise: 2.3, 2.4
Disable customer registration on your Magento 2 storefront with a single toggle — block new account creation, hide registration links, and display a custom message on the login page.
The Problem
Magento 2 enables customer registration by default with no built-in option to turn it off. B2B stores, invite-only shops, and stores using external registration forms have no way to prevent unwanted signups without custom development.
The Solution
This lightweight extension lets you disable customer registration per store view from the admin panel. Registration links are removed, the signup form is blocked, and direct URL access to /customer/account/create is restricted — all without touching code.
Key Features
/customer/account/create registration route
Feature Highlights
1. Disable Customer Registration from Admin
Navigate to the extension settings and toggle registration off for any store view. When disabled, the extension automatically removes the "Create an Account" link from the header, hides the registration button on the login page, and blocks direct URL access to the signup form.
- Remove "Create an Account" link from the store header
- Remove "Create an Account" button from the customer login page
- Display a custom HTML message on the login page
- Redirect direct access to
/customer/account/createback to the login page


2. Ideal Use Cases
Disabling customer registration is essential for stores that need to control who can create accounts and place orders.
- B2B stores where only the admin creates customer accounts manually
- Temporarily block new customers from registering and placing orders
- Stores using a custom or third-party registration form for B2B or marketplace users
- Private or invite-only stores that manage accounts externally
Need more than just disabling registration? If you require complete store restriction — customer approval workflows, restricting page access to specific customer groups, guest allowlisting for selected pages, and email notifications — check out Magento 2 Store Restriction Pro, the full-featured access control extension for Magento 2.
Installation
.zip file and extract the files.src/ folder to {magento2-root-dir}/app/code/MagePsycho/DisableRegistration (create non-existing folders).php bin/magento module:enable MagePsycho_DisableRegistration --clear-static-content
php bin/magento setup:upgrade
php bin/magento cache:flush
rm -rf pub/static/* var/view_preprocessed/*
php bin/magento setup:static-content:deploy
Live Demo
v1.0.0
released on 2022-02-22- added Initial Release
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.








