Product Group + Product Rating and Reviews feature integration

Edit on GitHub
You are browsing a previous version of the document. The latest version is 202212.0.

Install Feature Core

Follow the steps below to install Product group + Product rating & review feature core.


To start feature integration, overview and install the necessary features:

Name Version
Product Group master
Product Rating & Reviews master

Set up Behavior

Register the following plugin:

Plugin Specification Prerequisites Namespace
ProductReviewSummaryProductViewExpanderPlugin Expands ProductViewTransfer with the product review summary data (average rating). None SprykerShop\Yves\ProductReviewWidget\Plugin\ProductGroupWidget

namespace Pyz\Yves\ProductGroupWidget;

use SprykerShop\Yves\ProductGroupWidget\ProductGroupWidgetDependencyProvider as SprykerShopProductGroupWidgetDependencyProvider;
use SprykerShop\Yves\ProductReviewWidget\Plugin\ProductGroupWidget\ProductReviewSummaryProductViewExpanderPlugin;

class ProductGroupWidgetDependencyProvider extends SprykerShopProductGroupWidgetDependencyProvider
     * @return \SprykerShop\Yves\ProductGroupWidgetExtension\Dependency\Plugin\ProductViewExpanderPluginInterface[]
    protected function getProductViewExpanderPlugins(): array
        return [
            new ProductReviewSummaryProductViewExpanderPlugin(),

Make sure that the product rating on a product abstract card changes correctly after hovering over a color selector.