espertomagento / cash-on-delivery-fee
Adds a fee for cash on delivery payment method
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ^7.0|^8.0|^8.1
- 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
README
this module adds a configurable fee for the Magento2 default cash on delivery payment Method
Install:
From Magento2 root dir:
composer require espertomagento/cash-on-delivery-fee bin/magento module:enable EspertoMagento_CashOnDeliveryFee bin/magento setup:upgrade
also, if in production mode:
bin/magento setup:static-content:deploy
Usage
Go to Stores -> Configuration -> Sales -> Payment Methods If the Module has been installed successfully, there should be a new Configuration "Cash on Delivery Fee" under the Cash on Delivery Payment Method with a default value of 0.0
The Fee total will display in the Checkout and Order totals as soon as the Cash on Delivery Payment Method has been used and the value of the Fee is > 0.