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.


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

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

with this:

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.