0

In the CHECKOUT page, there are 2 options

  1. checkout as guest 2. Register

enter image description here

When a new user registers

enter image description here

enter image description here

After clicking the continue button the page is redirected to the page shown below

enter image description here

and from here when we click "proceed to checkout" the page again is redirected to the checkout page (shown in the 1st screenshot) from where the user can login.

But after adding required data in the email and password fields when login button is pressed it tells its invalid.

enter image description here

Can anyone help me to resolve this issue related to LOGIN !!

  • check in after cusotmer registratoin customer add or not?? – Jigs Parmar May 3 '17 at 6:29
  • I have checked it , its not getting added now ! Please tell me the solution if anyone knows it . – Varna Raj May 3 '17 at 6:46
2

its problem of form key

so please first add form key on that registration form

<div><input name="form_key" type="hidden" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" /></div>
  • I have made the above said changes in my code . its given below : <div><input name="form_key" type="hidden" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" /> <form id="co-billing-form" action=""> ...<fieldset></div> But the data's registered are not getting added to the db as well as not able to LOGIN with the newly added data. Please tell me the changes i need to make ! – Varna Raj May 4 '17 at 5:11
  • add this code inside form not above form – Jigs Parmar May 4 '17 at 12:24
  • I gave it as : <form id="co-billing-form" name="form_key" type="hidden" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" action=""> <fieldset> ...</fieldset> But no change. When i register as a "GUEST" (shown in 1st screenshot) iam able to login after the registeration ; Both of the registration leads to a same page (shown in screenshot 2 and 3) but When i REGISTER iam not able to login. Anyother Solution ! – Varna Raj May 5 '17 at 10:14

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.