私の Magento ストアでは、顧客が私の製品を 3 つのカテゴリ (価格など) でレビューしています。しかし、これらの評価を印刷すると、これらの 3 つのカテゴリではなく要約のみが表示されます (コードを参照)。
<?php
//from http://www.exploremagento.com/magento/run-magento-code-outside-of-magento.php
require_once '../app/Mage.php';
umask(0);
Mage::app('default');
$review = Mage::getModel('review/review');
$collection = $review->getProductCollection();
$collection
->addAttributeToSelect('*')
->getSelect()
->limit(5)
->order('rand()');
$review->appendSummary($collection);
foreach($collection as $product) {
//var_dump($product->debug());
}
/* To get (what I assume is) 'star' rating. */
$ratingSummary = $product->getRatingSummary();
$starRating = $ratingSummary['rating_summary'];
echo $starRating . "<br/>";
?>
概要ではなくすべての評価を取得するにはどうすればよいですか?