emagento/module-comments

Magento 2 店铺评论扩展

安装: 46

依赖: 0

建议者: 0

安全: 0

星星: 0

关注者: 2

分支: 0

开放问题: 0

类型:magento2-module

v2.0.1 2024-07-19 06:19 UTC

This package is auto-updated.

Last update: 2024-09-19 06:52:52 UTC


README

License: GPL v3

Magento 2 本地评论模块(俄语)

目录

一般信息

该模块扩展了标准模块 Magento_Reviews,允许用户对商店进行评论。此外,它还可以从外部来源(目前为 Flamp 和 Yandex)导入商店评论。

安装

可以使用以下命令进行安装:

$ composer require emagento/module-comments
$ bin/magento module:enable Emagento_Comments
$ bin/magento setup:upgrade

在 review_entity 表中应出现一个类型为 store 的记录

local_comments_review_entity

接下来,需要在后端中启用模块并设置外部来源配置 Stores -> Configuration -> Local Comments

local_comments_admin_settings2

然后需要进入评分设置: Stores -> Rating,选择类型为 Store 的评分,指定仓库可见性并保存:local_comments_rating_setup

商店评论可以在路径 Marketing -> Store Reviews 中查看:local_comments_store_comments2

列表如下:local_comments_grid

以下是模块在前端上的示例工作

local_comments_demo_page

这里 Ui-component 通过 ajax 加载到两列布局的左侧列。外观可以根据自己的主题进行调整

您可以在 此页面上查看模块的工作示例。

删除

php bin/magento module:uninstall -r Emagento_Comments
php bin/magento setup:upgrade

许可证

GPL-3.0-or-later