Ajax login Magento2 Extension
Table of Contents Introduction to Ajax Login... 3 Version & Compatibility Support... 3 Features... 4 How to install this Module?... 4 Module Configuration... 5 General Configuration... 5 Login Form... 6 Create an Account Form... 7 Forgot Password Form... 8 Contact Information... 9 A j a x L o g i n M a g e n t o 2 E x t e n s i o n Page 2
Introduction to Ajax Login Ajax login provides an easy way to register, login and retrieve forgotten passwords. This happens via a pop-up window without refreshing the current page. For example, when you log in with a default Magento installation, clicking the "sign in" top link will load a new page (the login page). With AJAX Login, clicking the "sign in" top link will display a popup in which the users can login. In this latter case, there is no page refresh or reload. Ajax Login module is compact, provides a better customer experience and interactivity and, helps in easier navigation. Also the traffic to and from the server is reduced a considerable amount. Version & Compatibility Support Version: 1.0.0 Stable Compatibility: This extension is compatible from Magento Community 2.1x and Magento Enterprise 2.1x to the latest versions. A j a x L o g i n M a g e n t o 2 E x t e n s i o n Page 3
Features Enable/Disable the ajax login module from the backend. Users can login / register without waiting for the page to load. Enable the address fields for customer registration page from the backend. Option to be redirected to the current page once login is successful. How to install this Module? Step 1: Download/purchase the extension. Step2: Create a directory app\code\dckap\ajaxlogin in your Magento Installation directory. Step 3: Unzip the file in the above directory. Step 4: Enter the following at the command line: php bin/magento module:enable DCKAP_Ajaxlogin Step 5: Enter the following at the command line: php bin/magento setup:upgrade Step 6: Login to Magento backend and navigate to Store -> Configuration -> DCKAP->Ajax Login and configure the module. Step 7: Clear the cache using the following command: php bin/magento cache:clean A j a x L o g i n M a g e n t o 2 E x t e n s i o n Page 4
Module Configuration To enable the extension, go to STORE > Configuration and from the left side menu navigate to DCKAP -> Ajax Login General Configuration Select Enable to Yes for enabling the module. Select Enable Address Fields in Customer Register Form to Yes, to display the address fields in the Customer Register Form in the pop up window. Address Fields will not be displayed if 'No' is selected. A j a x L o g i n M a g e n t o 2 E x t e n s i o n Page 5
Select Customer to Account Dashboard after logging In to Yes, to redirect the customer to Customer Dashboard after successful login. If no, the customer will stay on the current page. Login Form When you click on the Sign in link which is located in the top link, the Customer Login pop up window will open. Once the customer login is authenticated, the pop up login form will close and redirected to an appropriate page. A j a x L o g i n M a g e n t o 2 E x t e n s i o n Page 6
Create an Account Form When you click on the Create an account link which is located on the top link, the Customer Register pop up window will open. Once the customer registers successfully, the pop up login form will close and customer will be redirected to an appropriate page. A j a x L o g i n M a g e n t o 2 E x t e n s i o n Page 7
Note: In the Magento Enterprise Edition, the attributes created in the backend will be displayed in the front-end. If the customer address form field setting is not enabled, then the customer custom address form fields will not be displayed in the front-end. Forgot Password Form When you click on the Forgot password link in the Customer Login Form the Forgot Password pop up window will open. Once the forgot password reset process is successful, the pop up login form will close and the customer will be redirected to the current page. A j a x L o g i n M a g e n t o 2 E x t e n s i o n Page 8
Contact Information Mohan Natarajan Email: mohann@dckap.com DCKAP www.dckap.com 42840 Christy St. Suite 230 Fremont, CA 94538 Tel: 510-796-2525 A j a x L o g i n M a g e n t o 2 E x t e n s i o n Page 9