Magento 2

Magento 2 Disable Registration

100% of 100
Login to earn Reward Points for sharing!

This extension allows the store owner to disable the customer registration as per store.


Community: 2.3, 2.4
Enterprise: 2.3, 2.4
30 Days Money Back
Free Lifetime updates
100% Open Source


This 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)
M2 Disable Customer Registration - Disabled - Admin Settings
M2 Disable Customer Registration - Disabled - Storefront Login


1. Download the extension .zip file and extract the files.
2. Copy the files from src/ folder to the {magento2-root-dir}/app/code/MagePsycho/DisableRegistration folder (create non-existing folders).
3. Run the following series of commands from the SSH console of your server:

php bin/magento module:enable MagePsycho_DisableRegistration --clear-static-content
php bin/magento setup:upgrade

4. Flush the store cache

php bin/magento cache:flush

5. Deploy static content (in Production mode only)

rm -rf pub/static/* var/view_preprocessed/*
php bin/magento setup:static-content:deploy

5. Go to Admin > CUSTOMERS > Disable Registration > Manage Settings

Live Demo

Storefront | Backend


released on 2022-02-22
  • added Initial Release


How can I pay for MagePsycho extensions?

We only support PayPal for now. The other means are under processing.

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?

The license key(s) are sent along with the invoice email.
In case if you have't received any license key(s), please Contact Us with the order #.

Are your extensions open source or encrypted?

All of our extensions are developed on the open source platform.

Do you provide Magento customization service?

Yes, sure, we can help you with customization. Please, submit the Request Quote form.

Can I get a refund if an extension doesn’t suit me?

Absolutely. MagePsycho provides a 30-day money back guarantee. So feel free to purchase.

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?

MagePsycho doesn’t provide any trials. But we have a 30 days money back guarantee.
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?

Our license allows you to use in a single domain but an unlimited number of sub-domains.
In the case of additional licenses, we do provide a good discount.

Will I get free support and updates?

You will get free lifetime updates for extensions purchased from us.
Write Your Own Review
Only registered users can write reviews. Please Sign in or create an account
You May Also Like