It is frustrating that Magento has a mechanism that deals with checking configurable options for a configurable product, but NOT simple products for grouped products.
My website uses grouped products. Since all orders are simple products, the ratings are ultimately simple products, but they are not displayed on the grouped product page. I would like to a) expand the rating block to add simple product ratings, and (ideally) b) extend the rating calculation to include simple product ratings.
I searched everywhere for a review extension that supports grouped products and couldn't find one. So I try to punch it myself.
The first attempt was to try to expand that
MagentoReviewBlockProductViewListView Block to get the list of associated product IDs and pass that list to the collection classes. Then the collection classes somehow have to query for a list of products instead of a single one.
The collection classes
MagentoReviewModelResourceModelReviewCollection Create a method query
AddEntityFilter If there is an exact match, this must be changed by
entity_pk_value in (?).
This is a tiny change that is technically backward compatible, so I first tried using a plugin. Unfortunately, query building is all protected methods so plugins cannot work. So I seem to have to bypass or expand the collection classes as a whole to make this change.
Do I even get it right? Is there a better one?