Magento – How to add specific configurable product options to the wishlist

configurable-productmagento-1.7wishlist

For some reason, whenever a product is added to my wish list it only adds the product. It does not add the selected configurable options (size/color). I know that it should be able to handle the configurable….

Can someone point me in the locations of the files that I should overwrite (with the original magento files)? I might have made a change to some file somewhere and overrode that option. I would very much like to have the configurable options be selectable/required for the wish list.

If that doesn't work then if someone could point me in the direction of an extension that will be separate from the base magento wish list that will accomplish the same thing 🙂

Thank!
Jonathan.

Best Answer

Please check file app\code\core\Mage\Wishlist\controllers\IndexController.php, method addAction() and print debug information before lines

$result = $wishlist->addNewItem($product, $buyRequest); 

This code is responsible for adding product to the list and the variable $buyRequest contains custom options and configuration params.

You can also download the corresponding magento version and compare files with, say WinMerge or Diff utilities.

I guess something wrong with the product page template, and configuration data just do not transferred to the wishlist controller.

Also you can have older magento version where this feature is not available.

If you are looking for the module that can create multiple wishists and save product configurations in all magento versions, try this one.

Related Topic