Skip to content

Module to manage ratings filtering and ordering with ElasticSuite

Notifications You must be signed in to change notification settings

Smile-SA/magento2-module-elasticsuite-rating

Repository files navigation

ElasticSuite Ratings

This module is a plugin for ElasticSuite.

It allows to display Magento2 user's ratings as a facet filter, and also as a sort order.

Benefits

  • You will see a new facet allowing to filter on products average ratings.

Rating Filter

  • You will also be able to use the ratings as a sort order in category pages and search results.

Rating Filter

Requirements

The module requires :

Quick Start Guide

  1. Install the module via Composer :

composer require smile/module-elasticsuite-rating

  1. Enable it

bin/magento module:enable Smile_ElasticsuiteRating

  1. Install the module and rebuild the DI cache

bin/magento setup:upgrade

  1. Process a full reindex of catalogsearch index to reindex the Ratings data

bin/magento index:reindex catalogsearch_fulltext

How to use

The module is adding a new Product Attribute, called ratings_summary.

Since this is managed via an attribute, you are able to :

  • display/hide it on category pages (via the Is Filterable option)
  • display/hide it on search pages (via the Is Filterable In Search option)
  • allow/disallow it for sort order (via the Used for Sort By option)