I want to filter the product collection using "Ratings". As it is not an attribute of products how can i do that?
$collection = Mage::getModel('catalog/product')->getCollection()
->addAttributeToSelect('*')
->addAttributeToFilter('type_id', 'configurable')
->addAttributeToSort('name', 'asc');
I want to do Ratings filtering for the above collection.
Thanks in advance.
Best Answer
Try this.