dconline / module-fastway
N/A
dev-master
2018-05-30 07:12 UTC
Requires
- php: ~7.1.0
- lib-libxml: *
- magento/framework: 101.0.*
- magento/module-backend: 100.2.*
- magento/module-catalog: 102.0.*
- magento/module-catalog-inventory: 100.2.*
- magento/module-config: 101.0.*
- magento/module-directory: 100.2.*
- magento/module-quote: 101.0.*
- magento/module-sales: 101.0.*
- magento/module-shipping: 100.2.*
- magento/module-store: 100.2.*
Suggests
- magento/module-checkout: 100.2.*
This package is not auto-updated.
Last update: 2024-09-20 04:13:50 UTC
README
该项目是Magento2的Fastway物流插件,通过调用Fastway的API,计算运费并呈现在Magento2网站中,该插件目前适用于南非。
功能
- 计算运费
- 查询物流信息
- Fastway单号验证
依赖环境
- PHP7以上
- 关于如何安装Magento2的说明请查看
安装
-
获取访问Fastway的key,浏览器打开网址:http://sa.api.fastway.org/v3/docs/page/GetAPIKey.html,填写基本信息并提交,注意查看邮箱,Fastway会发送包含Key的邮件。
-
使用Composer(推荐)
- composer require dconline/module-fastway
-
启用插件
- php -f bin/magento module:enable --clear-static-content Dc_Fastway
- php -f bin/magento setup:upgrade
- php -f bin/magento setup:static-content:deploy
- php -f bin/magento cache:flush
配置
- 登录Magento2网站后台,进入到运输插件配置的菜单:商店——>设置——>配置——>销售——>运输方式。
- 选择Fastway,将第一步获取的Key填入输入框中。
- 国家选择南非,其他选项和输入项默认即可。
- 发货地根据实际地区选择
- 刷新网站索引
- php -f bin/magento cache:flush