flagbit/spryker-smart-inbox-connector
Composer 安装命令:
composer require flagbit/spryker-smart-inbox-connector
包简介
Send Spryker transactionals E-Mails
README 文档
README
Extends Spryker transaction mails with a Schema.org conform HTML content
Installation
Require the module
To get the module you have to require it with composer:
composer require flagbit/spryker-smart-inbox-connector
Generate transfer objects
You have to generate some transfer objects
console transfer:generate
Add Plugin to OmsDependencyProvider
The Method \Spryker\Zed\Oms\OmsDependencyProvider::getOmsOrderMailExpanderPlugins returns the plugins which should expand the
order mail transfer. You have to extend this class and add a new object
of \Flagbit\Zed\SprykerSmartInboxConnector\Communication\Plugin\OneAndOneMailConnectorOrderMailExpanderPlugin to the return
array.
Set configuration
Add project namespace
You have to add the namespace of the module to core-namespaces:
$config[\Spryker\Shared\Kernel\KernelConstants::CORE_NAMESPACES] = [ 'SprykerShop', 'SprykerEco', 'Spryker', 'SprykerSdk', 'Flagbit', ];
Add shop-name
You have to add the shop-name to config
$config[\Flagbit\Shared\SprykerSmartInboxConnector\OneAndOneMailConnectorConstants::SHOP_NAME] = 'your-shop-name';
Add status matrix
You have to add a list where every state of your orm points on one of those states schema.org/OrderStatus
$config[\Flagbit\Shared\SprykerSmartInboxConnector\OneAndOneMailConnectorConstants::MATRIX_KEY] = [ 'new' => 'OrderProcessing', 'payment pending' => 'OrderProcessing', 'invalid' => 'OrderCancelled', 'confirmed' => 'OrderProcessing', 'paid' => 'OrderProcessing', 'cancelled' => 'OrderCancelled', 'invoice generated' => 'OrderProcessing', 'waiting' => 'OrderProcessing', 'gift card purchased' => 'OrderProcessing', 'gift card created' => 'OrderProcessing', 'gift card shipped' => 'OrderProcessing', 'exported' => 'OrderProcessing', 'waiting for conformation' => 'OrderProcessing', 'shipped' => 'OrderInTransit', 'delivered' => 'OrderDelivered', 'closed' => 'OrderDelivered', 'waiting for return' => 'OrderInTransit', 'returned' => 'OrderReturned', 'return canceled' => 'OrderInTransit', 'shipped to customer' => 'OrderDelivered', 'refunded' => 'OrderCancelled', ];
flagbit/spryker-smart-inbox-connector 适用场景与选型建议
flagbit/spryker-smart-inbox-connector 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 05 月 19 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 flagbit/spryker-smart-inbox-connector 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 flagbit/spryker-smart-inbox-connector 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-05-19