springbot/magento2-plugin

Magento 2 的 Springbot 集成

安装数: 29 162

依赖项: 0

建议者: 0

安全性: 0

星标: 6

关注者: 25

分支: 7

开放性问题: 1

类型:magento2-module


README

CircleCI GPL licensed

Magento2 的 Springbot 集成

Springbot 是一个为小型到中型在线企业设计的电子商务营销平台,通过采取更智能、数据驱动的营销行动,帮助电子商务店铺增加收入。如果您想了解更多关于 Springbot 如何帮助您扩大业务的信息,我们鼓励您安排免费演示

此扩展程序将您的 Magento2 店铺连接到 Springbot 的营销平台。

安装

要通过 composer 安装,请从您的 Magento2 根目录运行以下命令

composer require springbot/magento2-plugin
php bin/magento module:enable Springbot_Queue
php bin/magento module:enable Springbot_Main --clear-static-content;
php bin/magento setup:upgrade
php bin/magento cache:clean
php bin/magento setup:static-content:deploy

如果您启用了编译,请重新运行编译过程

php bin/magento setup:di:compile

安装插件后,您应该在您的 Magento 管理菜单中看到 Springbot 菜单项。在这里输入您的 Springbot 凭据。

关于集成

我们已设计此集成尽可能轻量。扩展程序通过利用 Magento2 内置的 API 暴露几个 Springbot 特定端点,以保持您的店铺与我们的服务同步。同步后,所有营销操作都在位于 https://app.springbot.com 的 Springbot 仪表板中执行。

Springbot 使用作业队列系统来延迟同步作业,以便可以异步运行。通过这种方式,我们能够避免在页面加载时执行与同步相关的任务。相反,通过 Magento2 API 暴露一个特殊的队列端点,我们的同步服务定期请求。首次安装时,同步服务执行所有现有店铺数据的完整回溯同步。从那时起,当您的店铺上的操作导致数据的创建/修改/删除时,会添加一个轻量级作业到队列中,稍后异步处理。

扩展程序还会在每页的页脚中自动放置一个小型的异步 JavaScript 片段,以跟踪访客并加载第三方集成,如 Adroll。由于它在页面完全渲染后加载到后台,因此对页面前端渲染没有影响。

提交和贡献

如果您正在为此项目做出贡献,请创建一个分支,分支名称为问题编号。确保任何新功能都包含适当的测试。在创建新的主版本时,请标记您的提交并相应地更新 composer.json 版本。当前已将 GitHub Webhooks 配置为与 packagist.org 一起使用,以便任何新标记的版本都会自动推送到 Packagist。

git commit -m "My Changes"
git tag 1.6.3
git push origin --tags