snowio/magento2-product-rating-extension
Composer 安装命令:
composer require snowio/magento2-product-rating-extension
包简介
A Magento 2 module which exposes a products average ratings and rating count as an extension attribute
README 文档
README
Description
A Magento 2 module which exposes a products average review rating and rating count. These two fields are exposed as extension attributes that are accessible via Product get API calls. Please refer to the Magento 2 DevDocs section on Getting Started with Magento Web APIs for more information about API access.
Prerequisites
- PHP 7.0 or newer
- Composer (https://getcomposer.org/download/).
magento/module-catalogmodule 100, 101 or newer.magento/module-reviewmodule 100 or newer.magento/module-storemodule 100 or newer.magento/framework100 or newer
Installation
composer require snowio/magento2-product-rating-extension
php bin/magento module:enable SnowIO_ProductRatingExtension
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
Usage
Once installed subsequent product requests will contain new extension_attributes with the fields average_review_rating and ratings_count.
average_review_rating: The average rating of all reviews of the product.ratings_count: The number of review ratings.
License
This software is licensed under the MIT License. View the license
统计信息
- 总下载量: 7.9k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-09