Shopping cart

Required Login for Magento 2   v1.0.0

Required Login for Magento 2
magento partner

Magento 2 Required Login by Mageplaza is the supportive login extension. This module allows the store owner to restrict access to specific pages and set information visibility to registered users only. This module supports online stores to manage users and protect store information better.

  • Restrict access to login customers only
  • Set login requirement to any pages
  • Redirect customers to targeted pages
  • Allow/ Disallow visitors to create accounts
  • Properly compatible with Mageplaza extensions: Social Login, OneStepCheckout



60-day Money Back


Lifetime Update


365-day Support

Compatible With

CE, EE 2.1.x, 2.2.x, 2.3.x


Benefits of required login

Easy to control customer’s access

To reach the whole/ a part of information on a site, visitors are allowed to log in. As a result, store owners can have the control of the access situation easily. To some extent, the site will be protected better from ill-intentioned and unknown access.

More customers’ information, more benefits

Required Login means that customers have to create accounts in a store. Therefore, the store owners easily collect customers’ data (e.g. email addresses). This facilitates very helpfully to the store’s promotion campaigns.

More safe for sensitive information

Such information as privacy policy, about us, price or even product details are sensitive and even unique to any business. Therefore, the allowance to access these info needs to be stricter. Therefore, required login is the solution in this case.

Restrict access to login customers only

Mageplaza Required Login is the add-on tool which is applied to specific pages, and the visitors who would like to view the page’s information has to log in their accounts first.

The interface of login box is familiar and friendly to any users. Users are required to fill in their email address and password of their already-registered account. If the login is processed successfully, the page will become accessible.

Magento 2 Required Login extension - Restrict access to login customers only

Set login requirement to any pages

Magento 2 Required Login extension Set login requirement to any pages

Required login allows store owners to select multiple pages without limitation to require signing in action. Force login can be applied with any types of pages.
With Default pages, Required Login can be applied to:

  • Product View Page
  • Category Page
  • Checkout Cart Page
  • Checkout Onepage
  • Catalog Search Page
  • Contact Page

Besides, all the CMS Pages such as Home page, Privacy Policy, Customer Service, About Us can easily selected from admin backend.

Especially, admins can set custom pages URL including specific strings which either require login or freely access.

Redirect customers to targeted pages

One noticeable feature of Required Login is redirecting function. After customers successfully log in their accounts, they will be redirected to a specific page. Admins can configure the destination URL with various options:

  • Use Customer configuration
  • Customer dashboard
  • Home page
  • Previous Page

This is useful feature which store owners can take advantages to lead customers to targeted pages for particular purposes such as making promotion or product introduction with the aim to encourage further purchases or for any purposes.

Magento 2 Required Login Redirect customers to targeted pages

Allow/ Disallow visitors to create accounts

Magento 2 Required Login by Mageplaza

It is possible that store owners can turn off creating account function. This means that only users who already have accounts have the ability to access a page. If not, they have no choice except for leaving that page because creating account is disabled.

This feature is helpful in case a store owner would like to make sure only loyal or trustful account owners can have the visibility to specific information on the store site. For example, a special promotion page is accessible with the account owners only. New visitors at this case are not allowed to create accounts.

More features

Notice message

Set the message to notify customers when they visit a required login page.

Extension compatibility

Required Login is properly compatible with Social Login, OneStepCheckout

Full Features List

For store admins


  • Select default pages to apply Required Login
  • Select CMS Page to apply Required Login
  • Include Custom Page with specific strings to require login
  • Exclude Custom Page with specific string to freely access
  • Select destination page after customers log in successfully


  • Enable/ Disable the extension
  • Enable/ Disable Create Account function
  • Input Required-Login Message

For customers

  • The customers use their accounts to log in to view specific pages
  • A new visitor will be required to sign up account which then is used to log in to view required-login pages
  • Creating account then log in easily via email address

Reviews (3)

  • assignment_ind
    Excellent module

    Posted by Brittany H. Lamb on 08 April 2019 verified_user Verified Buyer
    I have installed this module for my store and it works great. It was so easy to install and simple to use. Thank you Mageplaza for this great module

  • assignment_ind
    Great module!!!

    Posted by Mary D. Cline on 03 April 2019 verified_user Verified Buyer
    Highly recommended module for your shop. I can do everything from managing users to protecting store information. I couldn't ask for more. Thank you so much!

  • assignment_ind
    Fast support

    Posted by Maria H. Parsons on 03 April 2019 verified_user Verified Buyer
    I have a small problem with the installation process. So I have contacted the support team and then they helped me to install it in the blink of an eye. Thank you so much!

Submit your review

How do you rate this product?


Your email address on Mageplaza's store


Plain text, no HTML tags.