ingrid/checkout-magento
最新稳定版本:2.1.0
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
统计信息
- 总下载量: 2.95k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2021-05-04