Wednesday, October 28, 2015

Customer Login not working in magento.

<?php echo $this->getBlockHtml('formkey'); ?>
if it is missing, add it as in

/app/design/frontend/base/default/template/persistent/customer/form/login.phtml

Here's what the above link has to say:

Go to template/customer/form/login.phtml and template/persistent/customer/form/login.phtml and under

<ul class="form-list">
Add the following code in the login form

<input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" />

No comments:

Post a Comment

Magento 2 Useful Commands List

Setup Upgrade Using Command Line php bin/magento setup:upgrade Cache Clean Using Command Line php bin/magento cache:clean ...