0

How to combine Register and Login form (Mangeto 1.9)

I am trying to merge fields of Registration form

from the template

persistent/customer/form/register.phtml

to the template

persistent/customer/form/login.phtml

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

asked Nov 4, 2016 at 5:05

1 Answer 1

2

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" /> 
 </block>
</reference>

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

<?php echo $this->getChildHtml('customer_form_register') ?>
answered Nov 4, 2016 at 5:12
7
  • 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. Commented Nov 4, 2016 at 5:18
  • 1
    magento.stackexchange.com/questions/143481/… for this what is your store email id Commented Nov 4, 2016 at 5:21
  • 1
    You want to remove [email protected] right Commented Nov 4, 2016 at 5:24
  • 1
    Then you change store email id to your email id([email protected]) Commented Nov 4, 2016 at 5:38
  • 1
    it's working..... Commented Nov 4, 2016 at 5:47

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.