Только для информации, пожалуйста, не указывайте.
Класс списка пожеланий был изменен после 1.4.2:
* @deprecated after 1.4.2.0
* @see Mage_Wishlist_Block_Links::__construct
*
* @return array
*/
public function addWishlistLink()
{
return $this;
}
и вот запрашиваемая вами функция (посмотрите на количество):
/**
* Add link on wishlist page in parent block
*
* @return Mage_Wishlist_Block_Links
*/
public function addWishlistLink()
{
$parentBlock = $this->getParentBlock();
if ($parentBlock && $this->helper('wishlist')->isAllow()) {
$count = $this->helper('wishlist')->getItemCount();
if ($count > 1) {
$text = $this->__('My Wishlist (%d items)', $count);
}
else if ($count == 1) {
$text = $this->__('My Wishlist (%d item)', $count);
}
else {
$text = $this->__('My Wishlist');
}
$parentBlock->addLink($text, 'wishlist', $text, true, array(), 30, null, 'class="top-link-wishlist"');
}
return $this;
}