1 / 6

Magento 2 Force Login

Magento 2 Force Login by Meetanshi makes it compulsory for visitors to login in order to access the store pages.

Meetanshi
Télécharger la présentation

Magento 2 Force Login

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 1.Extension Installation Guide 2.Configuration 3.Force Login in Frontend Force Login for Magento 2 © Meetanshi.com

  2. 1.Extension Installation •Extract the zip folder and upload our extension to root of your Magento 2 directory via FTP. •Login to your SSH and run below commands step by step: ophp bin/magento setup:upgrade oFor Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy oFor Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f ophp bin/magento cache:flush •That’s it. 2.Configuration For configuring the extension, login to Magento 2, move to Stores → Login where you can find various settings to enable the extension. •Force Login: Enable the Force Login extension from here. •Alert Message: Enter the alert message to show when the force login is enabled. •Select Pages: Select pages to enable force login for. •Enable Force Login on Other Pages: Select YES to enable force login on other pages. •Enable Force Login on CMS Pages: Select YES to enable force login on CMS pages. •Select CMS Pages: Select CMS pages to enable force login for. •Redirect After Login: Select a page or URL to redirect customers after login. → Configuration → → Force Force Login for Magento 2 © Meetanshi.com

  3. Force Login for Magento 2 © Meetanshi.com

  4. 3.Force Login in Frontend Once the extension is enabled, whenever a user go to the page for which force login is enabled, he gets automatically redirected to the login page with alert message to enter credentials and login to view the page. Force Login for Magento 2 © Meetanshi.com

  5. •Redirection After Login Once the user adds credentials and log in, he automatically gets redirected to the page or URL set from the backend. If you have any question or need support, Contact us at https://meetanshi.com/contacts/ Force Login for Magento 2 © Meetanshi.com

More Related