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
Mrunmay Deswandikar
1,2995 gold badges24 silver badges43 bronze badges
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" />
</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
Magento 2
3,8347 gold badges58 silver badges109 bronze badges
-
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– Mrunmay Deswandikar2016年11月04日 05:18:22 +00:00Commented Nov 4, 2016 at 5:18
-
1magento.stackexchange.com/questions/143481/… for this what is your store email idMagento 2– Magento 22016年11月04日 05:21:22 +00:00Commented Nov 4, 2016 at 5:21
-
1You want to remove [email protected] rightMagento 2– Magento 22016年11月04日 05:24:31 +00:00Commented Nov 4, 2016 at 5:24
-
1Then you change store email id to your email id([email protected])Magento 2– Magento 22016年11月04日 05:38:38 +00:00Commented Nov 4, 2016 at 5:38
-
1
Explore related questions
See similar questions with these tags.
default