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

1 Answer 1


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') ?>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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