Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

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