Invalid method Mage_Wishlist_Model_Item::isGrouped

Article ID #1276
Revision: 1.2
Last update: 2012-10-16

Symptoms

The following error report is generated after Magento upgrade to 1.7.0.2 on wishlist actions:

 

a:5:{i:0;s:62:"Invalid method Mage_Wishlist_Model_Item::isGrouped(Array
(
)
)";i:1;s:XXXX:"#0 app/design/frontend/base/default/template/catalog/product/price.phtml(52): Varien_Object->__call('isGrouped', Array)
#1 app/design/frontend/base/default/template/catalog/product/price.phtml(52): Mage_Wishlist_Model_Item->isGrouped()

Cause

Magento wishlist functions were redesigned in Magento 1.6.0.0-1.7.0.2 version and wishlist templates and layouts in your custom theme should be updated to match the new behavior.

Solution

In most cases, customized wishlist template files in the custom theme directory are just default templates from base Magento 1.4.x.x theme, so moving custom template/wishlist directory out should be sufficient to let the default theme files do the job right.

In example, if your custom theme is installed into app/design/frontend/em0015/default you can simply move app/design/frontend/em0015/default/template/wishlist to app/design/frontend/em0015/default/template/wishlist.out and flush Magento caches. If anything went wrong, you can simply move it back and correct every custom wishlist template manually, using corresponding files from app/design/frontend/base/default/template/wishlist as a working reference.

If your custom theme includes upgrade/maintenance support from the theme developers, instead of correcting templates on your own you can try to get updated theme files from the theme developers.

Did this article help you solve your issue?


Average rating: 3.92 (12 votes)

completely useless 1 2 3 4 5 most valuable

Tags: , ,