emagento / module-comments
Magento 2 店铺评论扩展
v2.0.1
2024-07-19 06:19 UTC
Requires
- magento/framework: >=100
README
Magento 2 本地评论模块(俄语)
目录
一般信息
该模块扩展了标准模块 Magento_Reviews,允许用户对商店进行评论。此外,它还可以从外部来源(目前为 Flamp 和 Yandex)导入商店评论。
安装
可以使用以下命令进行安装:
$ composer require emagento/module-comments
$ bin/magento module:enable Emagento_Comments
$ bin/magento setup:upgrade
在 review_entity 表中应出现一个类型为 store 的记录
接下来,需要在后端中启用模块并设置外部来源配置 Stores -> Configuration -> Local Comments
然后需要进入评分设置: Stores -> Rating,选择类型为 Store 的评分,指定仓库可见性并保存:
商店评论可以在路径 Marketing -> Store Reviews 中查看:
以下是模块在前端上的示例工作
这里 Ui-component 通过 ajax 加载到两列布局的左侧列。外观可以根据自己的主题进行调整
您可以在 此页面上查看模块的工作示例。
删除
php bin/magento module:uninstall -r Emagento_Comments
php bin/magento setup:upgrade
许可证
GPL-3.0-or-later



