yotpo/module-review

Yotpo Reviews for Magento2的扩展

安装量: 519,763

依赖项: 0

建议者: 0

安全: 0

星级: 23

关注者: 49

分支: 38

开放问题: 18

类型:magento2-module

3.3.0 2023-05-03 19:39 UTC

This package is auto-updated.

Last update: 2024-09-03 22:30:41 UTC


README

这个库包括了Yotpo Reviews扩展的文件。目录结构按照标准magento 2项目库的位置排列

此库还将包括不同版本的magento 2扩展包

要求

Magento 2.0+(至模块版本2.4.5)

Magento 2.1+(模块版本2.7.5至2.7.7)

Magento 2.2+(模块版本2.8.0及以上)

✓ 通过 composer 安装(推荐)

在您的Magento 2根目录下运行以下命令

composer require yotpo/module-review
php bin/magento maintenance:enable
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento maintenance:disable
php bin/magento cache:clean

在app/code下手动安装

  1. 下载并将Yotpo的核心模块的内容放置在{YOUR-MAGENTO2-ROOT-DIR}/app/code/Yotpo/Core。
  2. 下载并将此存储库的内容放置在{YOUR-MAGENTO2-ROOT-DIR}/app/code/Yotpo/Yotpo下
  3. 在您的Magento 2根目录下运行以下命令
php bin/magento maintenance:enable
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento maintenance:disable
php bin/magento cache:clean

使用方法

安装后,进入Magento 2管理面板

转到 Stores -> Settings -> Configuration,更改商店视图(不要更改默认配置),然后在左侧边栏点击 Yotpo Product Reviews Software

插入您的账户app密钥和密钥

高级

要在产品页面上手动插入小部件,请将以下代码添加到您的产品.phtml文件之一中

<?= $this->helper('Yotpo\Yotpo\Helper\Data')->showWidget($block) ?>

要在目录页面上手动插入底部栏,请将以下代码添加到Magento\Catalog\view\frontend\templates\product\list.phtml中

<?= $this->helper('Yotpo\Yotpo\Helper\Data')->showBottomline($block, $_product) ?>

https://www.yotpo.com/

版权所有 © 2018 Yotpo。保留所有权利。

Yotpo Logo