How to add a product to the wish list without triggering a redirect to the wish list?

I have tried many times. Please suggest the code for me, my theme is default LUMA.


1 Answer 1


Go for :Override this method Mage_Wishlist_IndexController::addAction() and replace this:

$this->_redirect('*', array('wishlist_id' => $wishlist->getId())); 

with this:


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.