mappconnect / shopware-plugin
Shopware 6 的 Mapp Connect 集成
0.0.6
2023-10-23 11:33 UTC
Requires
- mappconnect/client: ^0.1
- shopware/core: ^6.4|^6.5
- shopware/storefront: ^6.4|^6.5
This package is auto-updated.
Last update: 2024-09-23 13:36:55 UTC
README
总体信息
shopware-plugin 项目是 MappConnect 服务和 Shopware 之间的中间件,用于执行基本事件
- 连接状态
- 获取消息
- 获取组
- 为给定的 integrationId 执行指定事件
安装
首选方法是使用 composer。如果您还没有安装 composer,请遵循安装说明。
一旦安装了 composer,请在您的项目根目录中执行以下命令来安装此库
composer require mappconnect/shopware-plugin php bin/console plugin:refresh php bin/console plugin:install --activate --clearCache MappConnect
手动安装
或者,您可以下载整个包。
-
将插件源代码放入 Shopware 的
src/custom/plugins/
文件夹中,首先清理shopware-plugin
名称/文件夹,应用程序将自动检测此文件夹中残留的所有插件。
composer require mappconnect/client php bin/console plugin:refresh php bin/console plugin:install --activate --clearCache MappConnect
配置
您可以通过以下方式激活 Shopware 插件
-
[Shopware 6.3.x] 前往 Shopware 的 管理 部分,然后转到 设置->系统->插件,从列表中 安装(您也可以从上下文菜单中 配置 它),然后在此切换按钮中 激活。
-
[Shopware 6.4.x] 前往 Shopware 的 扩展 部分,然后转到 我的扩展->应用,从列表中 安装(您也可以从上下文菜单中 配置 它),然后在此切换按钮中 激活。
现在您可以使用插件与商业事件一起触发消息发送或将事件发送到白板(自动化)。