1

Am using Magento 1.9. When customer login in checkout/onepage page, it redirect to customer/account.

I want to remove this flow.

If customer login in checkout/onepage page redirect to same page I mean checkout/onepage page.

I tried this but no use

admin > System > Configuration > Customer > Customer Configuration > Loggin Option

then make Redirect Customer to Account Dashboard after Logging in make it NO

1 Answer 1

3

You have to rewrite in local :

app/code/core/Mage/Customer/controllers/AccountController.php,

the loginPostAction() then replace

$this->_loginPostRedirect();

with

$this->_redirectReferer();
1
  • Yes ;) good luck
    – PЯINCƎ
    Commented Sep 28, 2017 at 12:41

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.