Log in
Model

ReviewSummary

Magento\Review\Model\ReviewSummary

What it does

This class appends review summary data (review count and rating summary) to product objects in Magento 2.

Developers would use it to enrich product models with aggregated review information for a specific store.

Note: This class is deprecated due to potential issues with entity_type ID filtering when AUTO_INCREMENT doesn't start from 1.

Public Methods

  • appendSummaryDataToObject()