Magento 2

Magento 2 Disable Registration

Rating:
0% of 100
Share
Login to earn Reward Points for sharing!

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

Compatibility

Community: 2.3, 2.4
Enterprise: 2.3, 2.4
$0.00
v1.0.0
30 Days Money Back
Free Lifetime updates
100% Open Source

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

Disable Registration Turn off customer registration per store view from admin
Custom Login Message Display a configurable message on the login page when registration is disabled
Direct URL Protection Block direct access to /customer/account/create registration route
Hide Registration Links Remove "Create an Account" link from header and login page automatically
Multi-Store Support Enable or disable registration independently for each store view
Zero Code Changes Simple on/off configuration — no template edits or custom development needed

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/create back to the login page
Magento 2 Disable Customer Registration - Admin configuration panel with registration disabled and custom message settings Admin: Registration Disabled Settings
Magento 2 storefront login page with registration disabled showing custom notification message Storefront: Login Page with Registration Disabled

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

1
Download the extension .zip file and extract the files.
2
Copy the extension files from src/ folder to {magento2-root-dir}/app/code/MagePsycho/DisableRegistration (create non-existing folders).
3
Run the following commands from SSH console:
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 (Production mode only):
rm -rf pub/static/* var/view_preprocessed/*
php bin/magento setup:static-content:deploy
6
Go to Admin > CUSTOMERS > Disable Registration > Manage Settings to configure the extension.

Live Demo

v1.0.0

released on 2022-02-22
  • added Initial Release

Generic

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