SlideShare a Scribd company logo
Magento 2 Force Login
USER MANUAL
www.mageants.com support@mageants.com 1
Table Of Contents
Preface........................................................................................................................................................ 3
Installation Guide................................................……...................4
Force Login Back End.........………….............…..................……....…..6
Force Login Front End....………….............….......................…………...8
www.mageants.com support@mageants.com 2
Preface
Using the Force Login extension, the store manager can disable the frontend page
without logging in, so the customer has to log in to view the desired pages.
Using this, store manager has an option to disable customer registration at your
store.
Using this, store manager has an option to set custom alert message which displayed
on login page.
User Friendly and flexible configuration.
Easily Enable/Disable form admin.
This Extension allows you to Enable/Disable following pages:
➢ Product Page
➢ Category Page
➢ Cart Page
➢ Checkout Page
➢ Search Term Page
➢ Advanced Search Page
➢ Search Result Page
➢ Contact Page
➢ CMS Page
Admin can also hide third-party extension’s pages.
Admin can set page to redirect after logging in.
www.mageants.com support@mageants.com 3
Installation
There are two ways of installing extension in magento2.
1) Using COMMAND LINE.
2) Manually Install extension.
Option 1: Magento 2 install extension using COMMAND LINE
(Recommended)
Follow below steps to install extension from the command line.
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory if
code directory does not exists then create.
Step 3: Disable the cache under System → Cache Management.
Step 4: Enter the following at the command line:
1)php bin/magento setup:upgrade
2)php bin/magento setup:static-content:deploy
Step 5: Once you complete above steps logout and login back to the admin panel and
switch to Stores → Configuration → Advanced → Advanced, the module will be
displayed in the admin panel.
www.mageants.com support@mageants.com 4
Option 2. Magento 2 install extension manually
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory if code
directory does not exists then create.
Step 3: Disable the cache under System → Cache Management Edit
app/etc/config.php file and add one line code: ‘Mageants_Forcelogin’ =
1
Step 4: Enter the following at the command line:
php bin/magento setup:static-content:deploy
Step 5: Disable the cache under System → Cache Management
Step 6 : Once you complete above steps logout and login back to the admin panel
and switch to Stores → Configuration → Advanced → Advanced, the module will be
displayed in the admin panel.
www.mageants.com support@mageants.com 5
Back End Configuration
After Installation the Extension, Go to Store→Configuration→Mageants
Extension→Forcelogin Configuration, Where Store Manager can set the options
www.mageants.com support@mageants.com 6
As per below screen shots you can set page to display after logging in.
www.mageants.com support@mageants.com 7
Front End Configuration
The Registration link will disappear in Top Link Section, By Disable
Registration from admin.
When a product is clicked it will ask for a login, while the Product Detail Page will be
set as a Force Login by admin.
www.mageants.com support@mageants.com 8
Here the customer will be redirected to the login page, a custom alert message
set by the administrator will be displayed here.
Customer will able to see Product Detail Page after logging in.
www.mageants.com support@mageants.com 9
Thank You
If you have any questions or feature suggestions, please
contact us at: https://www.mageants.com/contact-us.html or
email us directly at support@mageants.com
Your feedback is absolutely welcome!
www.mageants.com support@mageants.com 10

More Related Content

What's hot

Magento 2 ajax add to cart
Magento 2 ajax add to cartMagento 2 ajax add to cart
Magento 2 ajax add to cartMageAnts
 
Magento 2 Responsive banner slider
Magento 2 Responsive banner sliderMagento 2 Responsive banner slider
Magento 2 Responsive banner sliderMageAnts
 
Wholesale configurable product for magento 2
Wholesale configurable product for magento 2Wholesale configurable product for magento 2
Wholesale configurable product for magento 2MageAnts
 
Magento 2 instagram integration
Magento 2 instagram integrationMagento 2 instagram integration
Magento 2 instagram integrationMageAnts
 
Product questions answers for magento 2
Product questions answers for magento 2Product questions answers for magento 2
Product questions answers for magento 2MageAnts
 
Magento 2 Simple Configurable Products by MageAnts Team
Magento 2 Simple Configurable Products by MageAnts TeamMagento 2 Simple Configurable Products by MageAnts Team
Magento 2 Simple Configurable Products by MageAnts TeamMageAnts
 
MageAnts Magento 2 Checkout Success Page
MageAnts Magento 2 Checkout Success Page MageAnts Magento 2 Checkout Success Page
MageAnts Magento 2 Checkout Success Page MageAnts
 
Magento 2 GeoIp Store Switcher
Magento 2 GeoIp Store SwitcherMagento 2 GeoIp Store Switcher
Magento 2 GeoIp Store SwitcherMageAnts
 
Magento 2 Google Invisible Recaptcha
Magento 2 Google Invisible RecaptchaMagento 2 Google Invisible Recaptcha
Magento 2 Google Invisible RecaptchaMageAnts
 
Magento 2 Product labels
Magento 2 Product labelsMagento 2 Product labels
Magento 2 Product labelsMageAnts
 
Magento 2 Responsive Navigation Menu
Magento 2 Responsive Navigation MenuMagento 2 Responsive Navigation Menu
Magento 2 Responsive Navigation MenuMageAnts
 
Facebooksuit for magento 2
Facebooksuit for magento 2Facebooksuit for magento 2
Facebooksuit for magento 2MageAnts
 
Magento 2 Duplicate Category
Magento 2 Duplicate CategoryMagento 2 Duplicate Category
Magento 2 Duplicate CategoryMageAnts
 
Latest Java Setting for MCA Portal(MANUAL)
Latest Java Setting for MCA Portal(MANUAL)Latest Java Setting for MCA Portal(MANUAL)
Latest Java Setting for MCA Portal(MANUAL)GAURAV KR SHARMA
 
Magento 2 Newsletter Popup
Magento 2 Newsletter PopupMagento 2 Newsletter Popup
Magento 2 Newsletter PopupMageAnts
 
Quick View For Magento 2
Quick View For Magento 2 Quick View For Magento 2
Quick View For Magento 2 MageAnts
 
Ocodewire world_store_locator_extension_demo
Ocodewire world_store_locator_extension_demoOcodewire world_store_locator_extension_demo
Ocodewire world_store_locator_extension_demoMagento oCodewire
 
Magento 2 Extra Fee Extension
Magento 2 Extra Fee ExtensionMagento 2 Extra Fee Extension
Magento 2 Extra Fee ExtensionMageAnts
 
Magento 2 Delete Account
Magento 2 Delete AccountMagento 2 Delete Account
Magento 2 Delete AccountMageAnts
 

What's hot (20)

Magento 2 ajax add to cart
Magento 2 ajax add to cartMagento 2 ajax add to cart
Magento 2 ajax add to cart
 
Magento 2 Responsive banner slider
Magento 2 Responsive banner sliderMagento 2 Responsive banner slider
Magento 2 Responsive banner slider
 
Wholesale configurable product for magento 2
Wholesale configurable product for magento 2Wholesale configurable product for magento 2
Wholesale configurable product for magento 2
 
Magento 2 instagram integration
Magento 2 instagram integrationMagento 2 instagram integration
Magento 2 instagram integration
 
Product questions answers for magento 2
Product questions answers for magento 2Product questions answers for magento 2
Product questions answers for magento 2
 
Magento 2 Simple Configurable Products by MageAnts Team
Magento 2 Simple Configurable Products by MageAnts TeamMagento 2 Simple Configurable Products by MageAnts Team
Magento 2 Simple Configurable Products by MageAnts Team
 
MageAnts Magento 2 Checkout Success Page
MageAnts Magento 2 Checkout Success Page MageAnts Magento 2 Checkout Success Page
MageAnts Magento 2 Checkout Success Page
 
Magento 2 GeoIp Store Switcher
Magento 2 GeoIp Store SwitcherMagento 2 GeoIp Store Switcher
Magento 2 GeoIp Store Switcher
 
Magento 2 Google Invisible Recaptcha
Magento 2 Google Invisible RecaptchaMagento 2 Google Invisible Recaptcha
Magento 2 Google Invisible Recaptcha
 
Magento 2 Product labels
Magento 2 Product labelsMagento 2 Product labels
Magento 2 Product labels
 
Magento 2 Responsive Navigation Menu
Magento 2 Responsive Navigation MenuMagento 2 Responsive Navigation Menu
Magento 2 Responsive Navigation Menu
 
Facebooksuit for magento 2
Facebooksuit for magento 2Facebooksuit for magento 2
Facebooksuit for magento 2
 
Magento 2 Duplicate Category
Magento 2 Duplicate CategoryMagento 2 Duplicate Category
Magento 2 Duplicate Category
 
SugarMob Pro
SugarMob ProSugarMob Pro
SugarMob Pro
 
Latest Java Setting for MCA Portal(MANUAL)
Latest Java Setting for MCA Portal(MANUAL)Latest Java Setting for MCA Portal(MANUAL)
Latest Java Setting for MCA Portal(MANUAL)
 
Magento 2 Newsletter Popup
Magento 2 Newsletter PopupMagento 2 Newsletter Popup
Magento 2 Newsletter Popup
 
Quick View For Magento 2
Quick View For Magento 2 Quick View For Magento 2
Quick View For Magento 2
 
Ocodewire world_store_locator_extension_demo
Ocodewire world_store_locator_extension_demoOcodewire world_store_locator_extension_demo
Ocodewire world_store_locator_extension_demo
 
Magento 2 Extra Fee Extension
Magento 2 Extra Fee ExtensionMagento 2 Extra Fee Extension
Magento 2 Extra Fee Extension
 
Magento 2 Delete Account
Magento 2 Delete AccountMagento 2 Delete Account
Magento 2 Delete Account
 

Similar to Magento 2 force login

Wholesale configurable product for magento 2
Wholesale configurable product for magento 2Wholesale configurable product for magento 2
Wholesale configurable product for magento 2MageAnts
 
Magento 2 wholesale fast order
Magento 2 wholesale fast orderMagento 2 wholesale fast order
Magento 2 wholesale fast orderMageAnts
 
Daily deals for magento 2
Daily deals for magento 2Daily deals for magento 2
Daily deals for magento 2MageAnts
 
Size chart for magento 2
Size chart for magento 2Size chart for magento 2
Size chart for magento 2MageAnts
 
Magento 2 Google Rich Snippets
Magento 2 Google Rich SnippetsMagento 2 Google Rich Snippets
Magento 2 Google Rich SnippetsMageAnts
 
Magento 2 Defer JavaScript
Magento 2 Defer JavaScriptMagento 2 Defer JavaScript
Magento 2 Defer JavaScriptMageAnts
 
Magento 2 Auto Cancel Order
Magento 2 Auto Cancel OrderMagento 2 Auto Cancel Order
Magento 2 Auto Cancel OrderMageAnts
 
Who Bought This Also Bought For Magento 2
Who Bought This Also Bought For Magento 2Who Bought This Also Bought For Magento 2
Who Bought This Also Bought For Magento 2MageAnts
 
Magento 2 Event Manager Extension
Magento 2 Event Manager ExtensionMagento 2 Event Manager Extension
Magento 2 Event Manager ExtensionMageAnts
 
Magento 2 Order Attributes
Magento 2 Order Attributes Magento 2 Order Attributes
Magento 2 Order Attributes MageAnts
 
Magento 2 Countdown Timer Extension
Magento 2 Countdown Timer ExtensionMagento 2 Countdown Timer Extension
Magento 2 Countdown Timer ExtensionMageAnts
 
Magento 2 Store Locator Extension
Magento 2 Store Locator ExtensionMagento 2 Store Locator Extension
Magento 2 Store Locator ExtensionMageAnts
 
Magento 2 Automatic Invoice and Shipment Extension
Magento 2 Automatic Invoice and Shipment ExtensionMagento 2 Automatic Invoice and Shipment Extension
Magento 2 Automatic Invoice and Shipment ExtensionMageAnts
 
Magento 2 Advanced Permissions
Magento 2 Advanced PermissionsMagento 2 Advanced Permissions
Magento 2 Advanced PermissionsMageAnts
 
Magento 2 Product Tabs
Magento 2 Product TabsMagento 2 Product Tabs
Magento 2 Product TabsMageAnts
 

Similar to Magento 2 force login (15)

Wholesale configurable product for magento 2
Wholesale configurable product for magento 2Wholesale configurable product for magento 2
Wholesale configurable product for magento 2
 
Magento 2 wholesale fast order
Magento 2 wholesale fast orderMagento 2 wholesale fast order
Magento 2 wholesale fast order
 
Daily deals for magento 2
Daily deals for magento 2Daily deals for magento 2
Daily deals for magento 2
 
Size chart for magento 2
Size chart for magento 2Size chart for magento 2
Size chart for magento 2
 
Magento 2 Google Rich Snippets
Magento 2 Google Rich SnippetsMagento 2 Google Rich Snippets
Magento 2 Google Rich Snippets
 
Magento 2 Defer JavaScript
Magento 2 Defer JavaScriptMagento 2 Defer JavaScript
Magento 2 Defer JavaScript
 
Magento 2 Auto Cancel Order
Magento 2 Auto Cancel OrderMagento 2 Auto Cancel Order
Magento 2 Auto Cancel Order
 
Who Bought This Also Bought For Magento 2
Who Bought This Also Bought For Magento 2Who Bought This Also Bought For Magento 2
Who Bought This Also Bought For Magento 2
 
Magento 2 Event Manager Extension
Magento 2 Event Manager ExtensionMagento 2 Event Manager Extension
Magento 2 Event Manager Extension
 
Magento 2 Order Attributes
Magento 2 Order Attributes Magento 2 Order Attributes
Magento 2 Order Attributes
 
Magento 2 Countdown Timer Extension
Magento 2 Countdown Timer ExtensionMagento 2 Countdown Timer Extension
Magento 2 Countdown Timer Extension
 
Magento 2 Store Locator Extension
Magento 2 Store Locator ExtensionMagento 2 Store Locator Extension
Magento 2 Store Locator Extension
 
Magento 2 Automatic Invoice and Shipment Extension
Magento 2 Automatic Invoice and Shipment ExtensionMagento 2 Automatic Invoice and Shipment Extension
Magento 2 Automatic Invoice and Shipment Extension
 
Magento 2 Advanced Permissions
Magento 2 Advanced PermissionsMagento 2 Advanced Permissions
Magento 2 Advanced Permissions
 
Magento 2 Product Tabs
Magento 2 Product TabsMagento 2 Product Tabs
Magento 2 Product Tabs
 

More from MageAnts

Magento 2 Survey Extension
Magento 2 Survey ExtensionMagento 2 Survey Extension
Magento 2 Survey ExtensionMageAnts
 
Magento 2 Custom Option Image
Magento 2 Custom Option ImageMagento 2 Custom Option Image
Magento 2 Custom Option ImageMageAnts
 
Magento 2 Admin Email Notification extension
Magento 2 Admin Email Notification extensionMagento 2 Admin Email Notification extension
Magento 2 Admin Email Notification extensionMageAnts
 
Magento 2 Maintenance Page Extension
Magento 2 Maintenance Page ExtensionMagento 2 Maintenance Page Extension
Magento 2 Maintenance Page ExtensionMageAnts
 
Magento 2 Import Export Product Attributes Extension
Magento 2 Import Export Product Attributes ExtensionMagento 2 Import Export Product Attributes Extension
Magento 2 Import Export Product Attributes ExtensionMageAnts
 
Magento 2 shipping table rates
Magento 2 shipping table ratesMagento 2 shipping table rates
Magento 2 shipping table ratesMageAnts
 
Magento 2 Frequently Bought Together
Magento 2 Frequently Bought TogetherMagento 2 Frequently Bought Together
Magento 2 Frequently Bought TogetherMageAnts
 
Magento 2 Multiple Wishlists Extension by MageAnts
Magento 2 Multiple Wishlists Extension by MageAntsMagento 2 Multiple Wishlists Extension by MageAnts
Magento 2 Multiple Wishlists Extension by MageAntsMageAnts
 
Magento 2 Import Coupon Codes
Magento 2 Import Coupon CodesMagento 2 Import Coupon Codes
Magento 2 Import Coupon CodesMageAnts
 
Magento 2 custom stock status
Magento 2 custom stock statusMagento 2 custom stock status
Magento 2 custom stock statusMageAnts
 
Magento 2 custom order number
Magento 2 custom order numberMagento 2 custom order number
Magento 2 custom order numberMageAnts
 

More from MageAnts (11)

Magento 2 Survey Extension
Magento 2 Survey ExtensionMagento 2 Survey Extension
Magento 2 Survey Extension
 
Magento 2 Custom Option Image
Magento 2 Custom Option ImageMagento 2 Custom Option Image
Magento 2 Custom Option Image
 
Magento 2 Admin Email Notification extension
Magento 2 Admin Email Notification extensionMagento 2 Admin Email Notification extension
Magento 2 Admin Email Notification extension
 
Magento 2 Maintenance Page Extension
Magento 2 Maintenance Page ExtensionMagento 2 Maintenance Page Extension
Magento 2 Maintenance Page Extension
 
Magento 2 Import Export Product Attributes Extension
Magento 2 Import Export Product Attributes ExtensionMagento 2 Import Export Product Attributes Extension
Magento 2 Import Export Product Attributes Extension
 
Magento 2 shipping table rates
Magento 2 shipping table ratesMagento 2 shipping table rates
Magento 2 shipping table rates
 
Magento 2 Frequently Bought Together
Magento 2 Frequently Bought TogetherMagento 2 Frequently Bought Together
Magento 2 Frequently Bought Together
 
Magento 2 Multiple Wishlists Extension by MageAnts
Magento 2 Multiple Wishlists Extension by MageAntsMagento 2 Multiple Wishlists Extension by MageAnts
Magento 2 Multiple Wishlists Extension by MageAnts
 
Magento 2 Import Coupon Codes
Magento 2 Import Coupon CodesMagento 2 Import Coupon Codes
Magento 2 Import Coupon Codes
 
Magento 2 custom stock status
Magento 2 custom stock statusMagento 2 custom stock status
Magento 2 custom stock status
 
Magento 2 custom order number
Magento 2 custom order numberMagento 2 custom order number
Magento 2 custom order number
 

Recently uploaded

WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
AI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAlluxio, Inc.
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowPeter Caitens
 
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion Clinic
 
INGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by DesignINGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by DesignNeo4j
 
Agnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in KrakówAgnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in Krakówbim.edu.pl
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfOrtus Solutions, Corp
 
Crafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationCrafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationWave PLM
 
Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Soroosh Khodami
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandIES VE
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Anthony Dahanne
 
AI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in MichelangeloAI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in MichelangeloAlluxio, Inc.
 
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Gáspár Nagy
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...rajkumar669520
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownloadvrstrong314
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesNeo4j
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesKrzysztofKkol1
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfkalichargn70th171
 
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with StrimziStrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzisteffenkarlsson2
 

Recently uploaded (20)

WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
AI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning Framework
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
 
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
 
INGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by DesignINGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by Design
 
Agnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in KrakówAgnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in Kraków
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
Crafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationCrafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM Integration
 
Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
AI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in MichelangeloAI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in Michelangelo
 
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
 
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with StrimziStrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi
 

Magento 2 force login

  • 1. Magento 2 Force Login USER MANUAL www.mageants.com support@mageants.com 1
  • 2. Table Of Contents Preface........................................................................................................................................................ 3 Installation Guide................................................……...................4 Force Login Back End.........………….............…..................……....…..6 Force Login Front End....………….............….......................…………...8 www.mageants.com support@mageants.com 2
  • 3. Preface Using the Force Login extension, the store manager can disable the frontend page without logging in, so the customer has to log in to view the desired pages. Using this, store manager has an option to disable customer registration at your store. Using this, store manager has an option to set custom alert message which displayed on login page. User Friendly and flexible configuration. Easily Enable/Disable form admin. This Extension allows you to Enable/Disable following pages: ➢ Product Page ➢ Category Page ➢ Cart Page ➢ Checkout Page ➢ Search Term Page ➢ Advanced Search Page ➢ Search Result Page ➢ Contact Page ➢ CMS Page Admin can also hide third-party extension’s pages. Admin can set page to redirect after logging in. www.mageants.com support@mageants.com 3
  • 4. Installation There are two ways of installing extension in magento2. 1) Using COMMAND LINE. 2) Manually Install extension. Option 1: Magento 2 install extension using COMMAND LINE (Recommended) Follow below steps to install extension from the command line. Step 1: Download the extension and unzip it. Step 2: Upload it to code directory in your magento installation’s app directory if code directory does not exists then create. Step 3: Disable the cache under System → Cache Management. Step 4: Enter the following at the command line: 1)php bin/magento setup:upgrade 2)php bin/magento setup:static-content:deploy Step 5: Once you complete above steps logout and login back to the admin panel and switch to Stores → Configuration → Advanced → Advanced, the module will be displayed in the admin panel. www.mageants.com support@mageants.com 4
  • 5. Option 2. Magento 2 install extension manually Step 1: Download the extension and unzip it. Step 2: Upload it to code directory in your magento installation’s app directory if code directory does not exists then create. Step 3: Disable the cache under System → Cache Management Edit app/etc/config.php file and add one line code: ‘Mageants_Forcelogin’ = 1 Step 4: Enter the following at the command line: php bin/magento setup:static-content:deploy Step 5: Disable the cache under System → Cache Management Step 6 : Once you complete above steps logout and login back to the admin panel and switch to Stores → Configuration → Advanced → Advanced, the module will be displayed in the admin panel. www.mageants.com support@mageants.com 5
  • 6. Back End Configuration After Installation the Extension, Go to Store→Configuration→Mageants Extension→Forcelogin Configuration, Where Store Manager can set the options www.mageants.com support@mageants.com 6
  • 7. As per below screen shots you can set page to display after logging in. www.mageants.com support@mageants.com 7
  • 8. Front End Configuration The Registration link will disappear in Top Link Section, By Disable Registration from admin. When a product is clicked it will ask for a login, while the Product Detail Page will be set as a Force Login by admin. www.mageants.com support@mageants.com 8
  • 9. Here the customer will be redirected to the login page, a custom alert message set by the administrator will be displayed here. Customer will able to see Product Detail Page after logging in. www.mageants.com support@mageants.com 9
  • 10. Thank You If you have any questions or feature suggestions, please contact us at: https://www.mageants.com/contact-us.html or email us directly at support@mageants.com Your feedback is absolutely welcome! www.mageants.com support@mageants.com 10