How to combine Register and Login form (Mangeto 1.9)

I am trying to merge fields of Registration form

from the template


to the template


But the copid fields (from register.phtml) are not getting displayed in login.phtml


Try this

<reference name="content">            
    <block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml">
        <block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml" />            

by this u can put html where do u want to place in customer/form/login.phtml

<?php echo $this->getChildHtml('customer_form_register') ?>
  • Sure. Min 8 mins are required by stack. You can check my profile. As a fresher I have put many basic questions, you can answer them also. – Mrunmay Deswandikar Nov 4 '16 at 5:18
  • 1
    magento.stackexchange.com/questions/143481/… for this what is your store email id – Magento 2 Nov 4 '16 at 5:21
  • 1
    You want to remove helloworld@example.com right – Magento 2 Nov 4 '16 at 5:24
  • 1
    Then you change store email id to your email id(my_email_id@gmail.com) – Magento 2 Nov 4 '16 at 5:38
  • 1
    it's working..... – Magento 2 Nov 4 '16 at 5:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.