skip to Main Content

Magento get Wishlistitem from Product

public function addItem(Mage_Wishlist_Model_Item $item) { $superAttributes = Mage::app()->getRequest()->getParam('super_attribute'); if ($item instanceof Mage_Wishlist_Model_Item && isset($superAttributes)) { $simpleItem = Mage::getModel('catalog/product_type_configurable')->getProductByAttributes($superAttributes, $item->getProduct()); } return parent::addItem($simpleItem); } Now my problem is that i want to call the parent function which needs to receive an…

VIEW QUESTION
Back To Top
Search