User Guide of Magento 2 Force Login Extension

General Configurations

At the backend, go to FME EXTENSIONS > Configurations. Here you can find the extension configurations.

  • Module Enable: Option to enable or disable the force login module

enable.png

Template Configuration

This section allows you to choose and customize a template for the login form.

  • Select Template: Choose any one templates.
  • Template Title: Enter a title for the template
  • Template Description: Enter a short description of the template
  • Store Image: Upload an image for the template

template.png

CMS Page Configuration

  • CMS Pages: Select the CMS pages where you want to enable the force login.
  • Third-Party Custom Pages: Choose ‘Yes’ or ‘No’ to enable or disable the force login on custom pages created by third-party extensions.
  • Custom Page List: Enter the URLs of custom pages where you want to apply the force login, separated by commas (e.g., custom/index, login/account/index).
  • Checkout Cart Page: Choose ‘Yes’ or ‘No’ to enable or disable the force login on the checkout cart page.
  • Checkout Main Page: Choose ‘Yes’ or ‘No’ to enable or disable the force login on the checkout main page.

cms page.png

Popup Settings

  • Popup Display Time (Seconds): Specify the number of seconds when force login template or login page redirection would occur.
  • CSS Style: Enter custom CSS popup.png

Redirect Settings

  • Select Redirect: Option to redirect the Non-logged in customers to the selected/previous page or custom URL

redirect.png

How to Enable Force Login on a Product?

At the back end, go to CATALOG > Products. Here you will find a grid of your store products. Now click on the Edit button to continue.

add.png

Now scroll down the page and Enable/Disable the force login option as per your requirements.

enable force login.png

How to Enable Force Login on a Category?

At the back end, go to CATALOG > Categories. Here you will find all the categories of your store products. Select any category and Enable/Disable the force login option as per your requirements.

enable on category.jpg

Frontend

Redirect Customers to Login

frontend.png

Custom Login Form

login form.jpg

Compatible with 2.1.x, 2.2.x, 2.3.x, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7
$69.99 Community
$269.99 Enterprise