FREE UP TO $120 for Module Customization Service! With other exciting deals for M2 ExtensionsGet Now

Magento 2 Force Login

1000+ downloads
Trusted by customers from our ecosystem:

Sorry, you must log in to access this page!” - sounds a little annoying for visitors but you see it often when sticking around e-commerce sites.

It turns out an effective way for merchants to control over page access restrictions. Explore Magento 2 Force Sign in extension to know why:

  • Support “force login” function for specific pages and all the site;
  • Enable/Disable the default Magento 2 customer registration link;
  • Redirect users after logging in;
  • Compatible with Porto theme & the Fastest and Infinit of Codazon;
  • Support GraphQL and REST APIs
  • Want to restrict access to specific categories/CMS page? Use Magento 2 Catalog Permission!

New update:

  • Compatible with Hyva Theme

>> All B2B solutions in 1 (including this module) with much lower price: Check out now!

Open Source (CE): 2.3.x - 2.4.x
|
Commerce On-Premise (EE): 2.3.x - 2.4.x

Sorry, you must log in to access this page!” - sounds a little annoying for visitors but you see it often when sticking around e-commerce sites.

It turns out an effective way for merchants to control over page access restrictions. Explore Magento 2 Force Sign in extension to know why:

  • Support “force login” function for specific pages and all the site;
  • Enable/Disable the default Magento 2 customer registration link;
  • Redirect users after logging in;
  • Compatible with Porto theme & the Fastest and Infinit of Codazon;
  • Support GraphQL and REST APIs
  • Want to restrict access to specific categories/CMS page? Use Magento 2 Catalog Permission!

New update:

  • Compatible with Hyva Theme

>> All B2B solutions in 1 (including this module) with much lower price: Check out now!

Open Source (CE): 2.3.x - 2.4.x
|
Commerce On-Premise (EE): 2.3.x - 2.4.x

$79.00

 

Free
1-Year Support

 

Free
Lifetime Update

 

Free
Installation

 

(*) 30-Day
Money Back

$79.00

Buy together
Magento 2 Force Login
-30%
$79.00
Rating:
98%

+
Magento 2 Hide Price
-30%
$79.00
Rating:
99%

+
Magento 2 B2B Registration Form
-30%
$119.00
Rating:
98%

=
Save -$106.80
$249.20
$356.00
Magento-2-B2B-Registration-Login

The Idea: Require Users to Login to View Specific Pages

William King is the owner of a Magento 2 B2B website. He emailed us complaining that by default, all product content and price on his site were shown for the general public - even his rivals. This significantly hurts the competitive advantages. As a result, he wanted to:

Restrict access to registered users only:

William desired to limit specific page access for several customers. "Non-logged-in customers would get redirected to the registration/sign-in page." This makes sense for good reasons.

  • Force Login Access to All Pages: Only pre-registered dealers could view product content and purchase at the website. That way, William felt easy to manage orders, customers, and re-market them;
  • Force Login to access Catalog Page and Product Page: Sometimes, he only wants to restrict the visitability to the product/catalog page. Pricing and product information are the top causes.

Tightly control his customers:

“The default registration is not informative enough for wholesale dealers.

And, instead of approving all accounts like default, better if I can accept or decline the request to ensure the reliable B2B relationship at the very first place,” said Wiliam.

We do have a solution fitting his demand, called Magento 2 B2B Registration.

The Solution: Magento 2 Force Sign-in Extension

In the frontend:

Display a message to inform of the Magento 2 force customer sign-in function

 

With our Magento 2 Force Sign-in extension, whenever visitors try to access pages set as unvisitable without logging in, they will be sent to the sign-in page.

A message, saying “Please log in to view this page,” is shown accordingly to inform them of the force login functionality.

Redirect customers to the page set in advance

In a nutshell, Magento require login function not only gives the admin better control of the site, but it also helps shoppers to manage orders. Accordingly, storing every deal in the logged-in accounts enables B2B vendors to reorder regular purchases at predictable intervals quickly.

Not to mention, Magento 2 require login to view site is an effective way to leverage the customer database, which is helpful to grow your business whether it is B2B or B2C.

In the backend:

Support “force login” function for specific pages or the whole site

Besides the Product page, Catalog page, Checkout page, etc., the admin can restrict access to any CMS Pages and even all pages based on various business purposes.

 

Also, the extension now supports restricting access for specific URLs: You can enter your targeted URLs either as Exactly or Contain.

 

Features of Magento 2 Force Login also work with pages customized by third-party extensions.

Choose where to redirect users after logging in

It is vital to smooth customer shopping experience at all times. After Magento 2 Force Sign in process, please redirect them to a suitable page for further purchases. You can choose among the following:

  • Default
  • Previous URL
  • Home Page
  • Custom URL

Enable/Disable default customer registration link

Like William, B2B stores even need to manage customer registration. Hence, this function is to hide the “register” block in the login page and header.

 

As a result, guests cannot create new accounts in the frontend. Instead, the admin will do this action from backend sites.

 

Bonus >>> The admin can also create a new sign-up form with more information for wholesalers and completely manage over the registration request by using Magento 2 B2B Registration extension.

Magento 2-force-login-settings

Ready to get Magento 2 Force Sign in extension at only $79.00?

 

P/S: When using this Magento 2 customer force sign-in extension, you should know that Magento has added Google reCAPTCHA and 2FA functionality to all Magento Commerce and Open Source versions 2.1 and above to enhance Magento 2 security. Please check the user guide to get detailed instructions for installation.

 

Why BSS Magento 2 Force Login

Competitive Price

Every merchant needs to survive – we do understand. That’s why we keep the price as low as possible.

Dedicated Support

We are all ears to your problems, either with our extensions or customizations. FREE 1-year support is included.

Open Source

The source code is completely open to inspect, modify and enhance according to your business purposes.

Verified by Marketplace

No worries about the code. This extension has passed the strict Extension Quality Program & been listed on Marketplace.

High Compability

Our modules work well with each other. Even you want ours to be compatible with those of others. We are here to help

Simple installation

We simplify and clarify the installation process, so you can get the extension played for your website in clicks.

Quick Update

Your business and customers’ demands are ever-changing. Our extensions are also up-to-date with new features.

Business expert

Our certified experts get involved from the extension development to support to bring you efficient and budget solutions.

Easy to Use

No need to install bunches of redundant features. We select the most relevant functions to ensure the user-friendliness.

Hear from others

Icon QuestionWrite a review

FAQs

  • Can I install this Magento 2 extension via Composer? If yes, how can I do that?

    Yes. You can install Magento 2 extensions via Composer following the instruction here.

  • How to send customization request for this extension?

    Dear,

    Just drop us an email to sales@bsscommerce.com or contact us.

    We'd like to offer customization service for all BSS Commerce extensions and any third-party extensions.

Release Note
  • v1.1.9 (Nov 03, 2023): Fix bug Customers can still access the create account page even though the Regular Register Form has been disabled.
  • v1.1.8 (Nov 2, 2022): Compatible with php8.1
  • PWA Addon v1.0.0 (Nov 2, 2022): First Release. Compatible with PWA studio, Venia theme v12.7.0. (no longer support)
  • Hyva compat: v1.0.0 (Sep, 14, 2022): Update compatible with Hyva theme.
  • v1.1.7 (May 09, 2022): Fix compatibility issues with BSS M2 B2B Registration Form.
  • v1.1.6 (Mar 18, 2022): Fix bug not showing Alert Message when re-loading the restricted page.
  • v1.1.5 (Dec 30, 2021): Change config name "Disable Registration" to "Disable Default Registration". Fix bug redirect after login. Fix bug login Contact page. Fix bug choosing multiple cms page.
  • v1.1.4 (Oct 18, 2021): Compatible with Swagger.
  • v1.1.3 (Aug 23, 2021): Revised code to work with GraphpQL addon
  • v1.1.2 (Mar 24, 2021): Fix bug when configuring Special Page is Search result page
  • v1.1.1 (Mar 10, 2021): API Support
  • v1.1.0 (Feb 27, 2021): Fix code sniffer issue; Fix bug when enable Force Login Page= All page
  • v1.0.9 (Oct 26, 2020): Update logic of Ignore List Router, Special Page; Add new config Force Login Page
  • v1.0.8 (Sep 18, 2020): Fix bug not forcing login homepage; Optimize configuration of Other pages
  • v1.0.7 (June 19, 2020): Ignore B2B account create page (Bss_B2bRegistration) from force login when enable config Force Login Other Page
  • v1.0.6 (June 10, 2020): Work with M2 Company Account by BSS Commerce
  • v1.0.5: Fix bug not redirecting to previous after logging in insuccessfully; Compatible with M2 B2B Registration by BSS Commerce
  • v1.0.4 (Apr 14, 2019): Compatible with Magento 2.3
  • v1.0.3 (May 03, 2018): Fix issue with Contact us Page setting
  • v1.0.2 (Apr 24, 2018): Fix bug when create customer account in backend
  • v1.0.1 (Mar 01, 2018): Fix blank page issue when re-login
  • v1.0.0 (Nov 30, 2017): First Release
Want more? Talk to us
Contact us Now

OR, CHECK OUT OUR ONLINE SUPPORT CENTER

Want Contact