How to redirect after login to a particular page which depend upon the page from which login is clicked in magento?

By | February 11, 2014

By deafult, when customer/user log in Magento, he/she is redirected to its account page.

But if you’d like to redirect the customer back to the product/page he was visiting before.

1
2
3
4
5
6
7
Login to Magento Admin.

Go to System -> Configuration -> Customer Configuration -> Login Options.

From the drop-down select "no" and save configuration. 

Refresh the cache and try to login.

Hope! you will enjoy.

Leave a Reply