We would like to share the simple steps involved to display the customer login page in the homepage in Magento. Follow the path and attain it with ease so that the existing Customers can login using their username, password and the new customers can create an account quickly.
Path:
- app/design/frontend/default/your theme /layout/cms.xml
In Cms.xml file, search for the following line given below:
- <reference name=”content”> <block type="cms/page"/> </reference>
Replace the above line with the lines given below:
- <reference name=”content”>
-
- <block type="customer/form_login" template="customer/form/login.phtml"/>
-
- <block type="cms/page"/>
-
- </reference>
Once the above steps are completed, the customer login form will be displayed in the homepage.
This entry was posted on Thursday, January 5th, 2012 at 8:17 am and is filed under Ecommerce templates, Magento Templates. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.











