ingrid/checkout-magento
Composer 安装命令:
composer require ingrid/checkout-magento
包简介
Ingrid Delivery Checkout Magento 2 Extension
README 文档
README
Install and Configure
Super Fast Install
composer require ingrid/checkout-magento
Install
Unpack the archive in to app/code/Ingrid/Checkout.
Enable the Ingrid module:
magento module:enable Ingrid_Checkout
magento setup:upgrade
Configure
Configure Ingrid in admin at Stores > Configuration > Sales > Shipping Methods > Ingrid Delivery Experience Platform.
Enter at minimum Test Api key and select test mode to get started.
Or setting the paths:
- carriers/ingrid/active: true
- carriers/ingrid/test_mode: true
- carriers/ingrid/stage_api_key:
Disable all other shipping methods, as they will conflict with Ingrid.
Frontend
Ingrid Checkout Widget
The Checkout Widget is added by default before the shippingAddress form in checkout.
To put it somewhere else include this in you checkout layout.
<item name="ingrid_checkout" xsi:type="array">
<item name="component" xsi:type="string">Ingrid_Checkout/js/view/checkout/ingrid-checkout</item>
</item>
Checkout data sync
Ingrid does not by itself auto-update when consumer/address data is entered in checkout.
Ingrid will however update when shippingAddress change on the quote.
As such, you may trigger update of Ingrid using Magento_Checkout/js/model/checkout-data-resolver#resolveShippingAddress().
Alternatively, Ingrid can be called directly using Ingrid_Checkout/js/model/checkout#updateData().
Admin
On orders completed using Ingrid you will, in addition to the standard Shipping Method, find Ingrid shipping details in the Order overview.
Integration points
- Coupons/Cart Price Rules
- Specific Coupons
- Free Shipping
- Magento Shipping Method
- For display of the shipping line item on the order, does not carry sufficient information for booking
- Magento Api (Sales Order Api)
- Complete information for booking are preset on the Sales Order, at
extension_attributes.ingrid, this includes- selected option
- external_method_id
- location
- timeslot
- Complete information for booking are preset on the Sales Order, at
- Sales Order admin view
- Complete information for booking
ingrid/checkout-magento 适用场景与选型建议
ingrid/checkout-magento 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.09k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 05 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 ingrid/checkout-magento 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ingrid/checkout-magento 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 3.09k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2021-05-04