This question already has an answer here:

In Magento, the default functionality is that the customer click a wishlist link on any product when that customer is not logged in, then it redirects to login page and then the product has been stored in wishlist and shows in wishlist page after logged in. But according to requirement, I need the wishlist functionality for non logged in Customer also. The non logged in customer is capable to click a wishlist link and save and see the wishlist without logged in. That mean I think guest wishlist for magento. If any one knows about it. Please reply me as soon as possible.

marked as duplicate by Fabian Schmengler, Qaisar Satti, Keyul Shah, Siarhey Uchukhlebau, Arunendra Jan 24 '17 at 8:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  1. Overwrite controller

Please copy file app/code/core/Mage/Wishlist/controllers/IndexController.php to app/code/local/Mage/Wishlist/controllers/IndexController.php

Change property

protected $_skipAuthentication = true;
  1. Alter table: wishlist

    • Remove Unique of column customer_id
    • Remove Foreign Key of column customer_id
    • Add column cookie type varchar(255)
  2. Overwrite model Mage_Wishlist_Model_Wishlist

    public function loadByCookie($ss, $create = false)
        $this->_getResource()->load($this, $ss, "cookie");
    if (!$this->getId() && $create) {
    return $this;        

You can use ajax or merge wishlist after login at extension http://www.mlx-store.com/magento-extensions/customer-experience/guest-wishlist-use-ajax-for-magento.html


Without customization/ use extension,you cannot do it.

for extension,you can use



As customization,can use

Add to wishlist without customer login

  • First two are paid extension, second one is not proper solution. I need more information for creating this extension or free extension. Client don't want to buy the paid extension. If you know more thing about this above feature, please reply me as soon as possible. Thank you. – Ankan Bhadra May 5 '16 at 12:28

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