brandung / cash-on-delivery-fee
为现金送货付款方式添加费用
2.2.1
2020-12-01 11:30 UTC
Requires
- php: ^7.0.0
- magento/module-offline-payments: ^100.1.2
- magento/module-payment: ^100.1.5
- magento/module-quote: ^100.1.4|^101.0.0
- magento/module-store: ^100.1.5|^101.0.0
This package is not auto-updated.
Last update: 2024-09-18 05:57:51 UTC
README
现金送货费用
此模块为Magento2默认的现金送货付款方式添加可配置的费用
安装
从Magento2根目录开始
composer require brandung/cash-on-delivery-fee bin/magento module:enable Brandung_CashOnDeliveryFee bin/magento setup:upgrade
另外,如果处于生产模式
bin/magento setup:static-content:deploy
使用方法
转到商店 -> 配置 -> 销售 -> 付款方式 如果模块已成功安装,则在现金送货付款方式下应该有一个新的配置“现金送货费用”,默认值为0.0。
费用总额将在结账和订单总额中显示,一旦使用现金送货付款方式且费用值大于0。