M1
M2
Magento 2 Force Login Extension
Hyva silver PartnerAdobe Marketplace

Magento 2 Force Login Extension

$49.00
One-time cost
5
Rating:
100% of 100
(14)

Magento 2 Force Sign-in module forces website customers to log in to see website pages. Restrict access to Magento store content.

  • Enforce website visitors to sign in to Magento store.
  • Set redirect URL for website visitors.
  • Display custom alert message to login enforcement.
  • Redirect customers to login page if they try accessing locked pages.
  • Restrict access to products, categories and CMS pages.
  • Add custom URL records for redirecting visitors to preferred locations with Link Manager.
  • Useful for websites that offer membership or premium access.
  • REST API Available / GraphQL API Available.
  • Compatible with Hyvä.
MageComp Tested By Adobe Developer MageComp Extension Compatiblity With Hyva Theme MageComp Extension Ready With Rest API MageComp Extension Ready With GraphQL MageComp Extension Install With Composer
2.3.X - 2.4.8 Compatible
Links
MageComp Adobe Frontend Developer
MageComp Adobe Business
MageComp Adobe Proffesionals
30 days money back

30 DAY

MONEY BACK

One year free upgrade

1 YEAR

FREE UPGRADE

1 year free support

1 YEAR

FREE SUPPORT

Screenshot

Problem

If you're offering exclusive discounts and promos to registered users, enhancing the shopping experience for devoted customers should be a top priority. By offering personalized recommendations, premium features, and exclusive deals, you are sure to leave a long-lasting impression on your loyal clients and keep them coming back for more.

By default in Magento 2, all information like products, pricing details, content, promotions etc. are visible to the public. This can be challenging for store owners, particularly B2B merchants who wish to safeguard their competitive edge. What is the ideal way to limit access to specific pages to only registered users?

Solution

With the help of the Magento 2 Force Login module, store owners request customers to log in before accessing web content. This module adds an extra layer of security by restricting access for non-logged-in customers. This feature can be customized to restrict access to specific categories and pages.

The backend grid management system is simple and easy to use and allows store owners to redirect non-registered users to a different page with a message. Customers are required to log in before viewing products and prices, adding to the cart, and checking out. In summary, customers must log in to purchase products from your store.

 

Benefits of Magento 2 Force Login Extension

 

Enforce Customers to Log InEnforce Customers to Log In

Enforce Customers to Log In

With Magento 2 Force Login module, store owners can ask their unregistered customers to log in to the website and then access the specific part of the website content.

Redirect Customers to Login Page

Required Login for Magento 2 module only allows users to view content if they are logged in. If not, they will be redirected to the login page.

Redirect Customers to Login PageRedirect Customers to Login Page
Easy Restriction on Product, Category & CMS PagesEasy Restriction on Product, Category & CMS Pages

Restrict Website Sections

Force Login for Magento 2 extension lets restrict the following website’s sections.

  • Product pages
  • Category pages
  • CMS pages

Useful to Websites Offering Membership/Premium Access

Required Login for Magento 2 lets store owners restrict their customers’ login to the website to access the website pages. This is the most beneficial point for websites that offer membership plans and premium features.

Useful to Websites Offering Membership/Premium AccessUseful to Websites Offering Membership/Premium Access

 

Why Choose MageComp’s Magento 2 Required Force Login Extension?

 

  • Make customers log in their accounts to access the website content.
  • Alert visitors if they try to access the website page without logging in.
  • Set URL for redirecting customers to login page.
  • Select what category or CMS pages to restrict.
  • Allow the admin to use custom URL and error message.
Write Your Own Review
Only registered users can write reviews. Please Sign in or create an account

Version 1.0.5 Date : 14-05-2025

- Compatible with Magento 2.4.8 version

Version 1.0.4 Date : 08-10-2024

- Improved REST API and GraphQL API

- Compatible with Magento 2.4.7 version

Version 1.0.3 Date : 13-06-2023

- Added REST API and GraphQL API

- Compatible with Magento 2.4.6 version

Version 1.0.2 Date : 27-12-2022

- Compatible with the latest Magento 2.4.5 version

- Minor bug fixing

Version 1.0.1 Date : 02-08-2022

- Compatible with the latest Magento 2.4.4 version

- Compatible with Magento Coding Standards

- Minor bug fixing

Customer Questions
1. Once we buy this extension, can it be used on 2 websites?
You are allowed to use the extension in one production website and 2 development websites.
You can enter all as comma-separated in the domain field while purchasing the extension on our website.
2. What is Magento 2 Force Login Extension?
A Magento 2 module that makes customers login to view site content (like product, category, or CMS pages); adding an element of private content and exclusivity—especially useful for membership or B2B stores.
3. What are the Features of Magento 2 Force Login Extension?
Force customer login throughout store or specific page Redirect users who are not logged in to a full page login page Show a custom alert message on the redirect page Put constraints on accessing products, categories, CMS page and custom pages Admin will manage the redirects with a Link Manager so the post-login flow is custom
4. How Magento 2 Force Login Extension Works?
Once the admin enables the module through the backend configuration (Stores → Configuration → Forcelogin) they decide which pages require login, create their alert text and define the redirect URLs. When users who are not logged into their account try to access one of the restricted pages they will get an alert message then will be redirected to the login page, and once logged in they will be directed to either their intended URL or whichever URL was defined by the admin user.
5. Can this Extension show a custom message when login is required?
Yes, it can display your alert message to advise the user of the reason they are being redirected to the login.
6. Why should I use Force Login in Magento 2?
To make sensitive or exclusive content (ex. price, product information, etc.) protected To encourage users to register and collect customer data  To assist with marketing, customer insight and engagement  To support membership, subscription or B2B targeted stores
7. Can I restrict specific pages like product or category pages with this extension?
Yes, administrators can restrict product pages, category pages, CMS pages as well as URLs that you want to protect.
8. Does the extension support redirect after login?
Yes, after login, the visitor can be redirected to the original requested page, home page, or any URL that you define in the settings.