mygento / module-shipment
Magento 2 发货基础
2.4.4
2024-08-09 13:44 UTC
Requires
- php: >=8.0.0
- magento/module-shipping: 100.*
- mygento/module-base: ~2.4.3
Requires (Dev)
- mygento/coding-standard: ~2.14.0
This package is auto-updated.
Last update: 2024-09-12 13:32:23 UTC
README
使用composer安装
- 包含仓库:
composer require mygento/module-shipment
使用方法
每个扩展应该有三个类
-
客户端继承自 \Mygento\Shipment\Model\AbstractClient
该类用于与API通信。通过服务与其他进行交互。
-
承运商继承自 \Mygento\Shipment\Model\AbstractCarrier
该类用于处理Magento的运费。
-
服务继承自 \Mygento\Shipment\Model\AbstractService
该类负责与Magento和数据库交互。
兼容性
该模块已在magento 2.4.x版本上进行了测试。