Rating problem shows ratings for the first product, and nothing for the rest

I am having the same problem - it only shows ratings for the first product, and nothing for the rest. I have tried the PHP-solution in #5, but the page just stops working.


This is a reported bug.
open file: app/code/core/Mage/Catalog/Block/Product/Abstract.php
change:

protected function _initReviewsHelperBlock()
    
{
        
if (!$this->_reviewsHelperBlock{
            
if (Mage::helper('catalog')->isModuleEnabled('Mage_Review')) {
                $this
->_reviewsHelperBlock $this->getLayout()->createBlock('review/helper');
                return 
true;
            
}
        }

        
return false;
    
}
to:
protected function _initReviewsHelperBlock()
    
{
        
if (!$this->_reviewsHelperBlock{if (!Mage::helper('catalog')->isModuleEnabled('Mage_Review')) {
                
return false;
            
else {
                 $this
->_reviewsHelperBlock $this->getLayout()->createBlock('review/helper');}
         }
return true;}

Comments

Popular Posts

Magmi Single and Multiple Category Importer