spirit-digital-agency/magento2-bestprice-analytics

将BestPrice 360分析集成到您的Magento 2商店中。

1.0.0 2023-01-20 13:41 UTC

This package is auto-updated.

Last update: 2024-09-20 17:42:54 UTC


README

将BestPrice 360分析和高亮标签集成到您的Magento 2商店中。

此模块提供了BestPrice 360分析Magento 2商店之间的集成。

  • 将分析跟踪脚本集成到所有前端页面。
  • 集成订单期间生成的电商数据(交易和收入)。
  • 集成BestPrice合作伙伴徽章。
  • 将BestPrice产品徽章集成到产品页面上的评论标签中。
  • 将BestPrice产品小部件集成到商店页面的小部件中。
  • 选择您的任何Magento产品属性或自定义属性以匹配您的BestPrice XML数据源
  • 与Magento 2.3.x和Magento 2.4.x兼容

该模块可在GitHub仓库中找到。

安装

通过composer安装(推荐)

我们推荐您通过composer安装Spirit_BestpriceAnalytics模块。它易于安装、更新和维护。

在Magento 2根目录中运行以下命令。

安装

composer require spirit-digital-agency/magento2-bestprice-analytics
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento cache:flush

升级

composer update spirit-digital-agency/magento2-bestprice-analytics
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento cache:flush

手动

如果您不想通过composer安装,可以使用这种方式。

  • 下载 Spirit_Core
  • master.zip文件解压到app/code/Spirit/Core。如果您还没有创建文件夹路径app/code/Spirit/Core,则需要创建。
  • 在此处下载最新版本
  • master.zip文件解压到app/code/Spirit/BestpriceAnalytics。如果您还没有创建文件夹路径app/code/Spirit/BestpriceAnalytics,则需要创建。
  • 转到Magento根目录并运行升级命令行以安装Spirit_BestpriceAnalytics
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento cache:flush

设置

此扩展有多个配置选项,可以在商店 > 配置 > Spirit > Bestprice中找到。

BestPrice 360分析

  1. 导航到商店 > 配置 > Spirit > BestPrice > BestPrice 360分析
  2. 启用设置为
  3. BestPrice 360密钥设置为BestPrice提供的密钥
  4. 唯一ID设置为在您的XML数据源中使用的商品唯一ID
  5. 保存并刷新Magento缓存

附加配置

BestPrice分析应启用并正确配置,以便其他功能能够正常工作。

BestPrice徽章

启用BestPrice徽章以在所有商店页面上显示合作伙伴徽章。

  1. 导航到商店 > 配置 > Spirit > BestPrice > BestPrice徽章
  2. 启用设置为
  3. 选择徽章的显示位置
  4. 保存并刷新Magento缓存

BestPrice产品徽章

启用BestPrice徽章以在产品页面上作为评论标签显示产品详情。

  1. 导航到商店 > 配置 > Spirit > BestPrice > BestPrice产品徽章
  2. 启用设置为
  3. 保存并刷新Magento缓存

BestPrice产品小部件

启用BestPrice小部件以在产品页面上作为评论标签显示产品详情。

  1. 导航到商店 > 配置 > Spirit > BestPrice > BestPrice产品小部件
  2. 启用设置为

Magento设置

页面/静态块嵌入
  1. 导航到 内容 > 页面或内容 > 块
  2. 找到 编辑页面 – 块
  3. 从编辑器工具栏选择 插入小部件
  4. 选择小部件类型 BestPrice 产品小部件
  5. 插入小部件
  6. 保存并刷新Magento缓存
条件嵌入
  1. 导航到 内容 > 小部件
  2. 添加新小部件
  3. 选择类型 BestPrice 产品小部件
  4. 分配到所需的商店视图
  5. 添加布局更新
  6. 显示在所有页面上
  7. 选择您想要徽章显示的位置
  8. 保存并刷新Magento缓存

作者

名称:Spirit Digital Agency

电子邮件:support@spirit.com.gr

发布日期:2023-01-11