Magento Forum

   
Changes in review/product - code do not work with the new 1.1
 
Christian_Norway
Sr. Member
 
Total Posts:  135
Joined:  2008-06-18
 

Hi guys,

I’ve been looking at the codes, but can’t for the life of me understand what has changed…

The code I have pulls out the % in rating so to create the stars…

Old code:

<?php if($_product->getRatingSummary()): ?>
            <?php 
//echo $this->helper('review/product')->getSummaryHtml($_product) ?>
            
<div class="ratings">
                <
div class="rating-box">
                    <
div class="rating" style="width:<?php echo $this->helper('review/product')->getSummaryRating($_product)?>%"></div>
                </
div>
            </
div>

Not sure what I need to change…

<div class="rating" style="width:<?php echo $this->helper('review/product')->getSummaryRating($_product)?>%"></div>

 
Magento Community Magento Community
Magento Community
Magento Community
 
SebboKleine
Jr. Member
 
Total Posts:  23
Joined:  2008-07-10
 

What I found out is, that review/helper/product.php doesn’t exists anymore. Can now be found under review/block/helper.php.
But i’m not shure yet, how to access this.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top