1

i am new in magento i want to redirect customer to "Register" page when customer click on log in button if user email address and password is not match

1 Answer 1

1

You can override this method: Mage_Customer_AccountController::loginPostAction and in case Mage_Customer_Model_Customer::EXCEPTION_INVALID_EMAIL_OR_PASSWORD just redirect to $this->getUrl('customer/register'), but I don't recommend it. Sometimes users fill in a wrong password and it becomes annoying to have to click again on the login link.

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.