magento2-module-elasticsuite-rating
magento2-module-elasticsuite-rating copied to clipboard
Module to manage ratings filtering and ordering with ElasticSuite
``` $defaultAttributeSet = $eavSetup->getAttributeSetId($entity, 'Default'); $defaultGroup = $eavSetup->getAttributeGroupId($entity, $defaultAttributeSet, 'General'); ``` should be replaced by ``` $defaultAttributeSet = $eavSetup->getDefaultAttributeSetId($entity); $defaultGroup = $eavSetup->getDefaultAttributeGroupId($entity, $defaultAttributeSet); ``` in `src/vendor/smile/module-elasticsuite-rating/Setup/RatingSetup.php`
How do you show filter ratings with 1 through 5 stars only in the layered nav, and not display 0 stars?
I have written a before plugin for `Magento\Catalog\Block\Product\ProductList\Toolbar` for set direction `DESC` when order is ratings_summary but it doesn't seems to work. I'm also facing same problem with API also...