Created
December 22, 2014 00:34
-
-
Save tinchodev/9b771c70080146fb6132 to your computer and use it in GitHub Desktop.
Magento Append Ratings to Product Collection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($productCollection instanceof Varien_Data_Collection) { | |
$productCollection->load(); | |
Mage::getModel('review/review')->appendSummary($productCollection); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment