cybage/cod-extracharge

There is no license information available for the latest version (1.0.0) of this package.

Module to add extra charge on COD payment method

Installs: 2 602

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 2

Open Issues: 1

Type:magento2-module

1.0.0 2019-02-12 11:56 UTC

This package is auto-updated.

Last update: 2024-05-12 22:24:46 UTC


README

Overview The module helps you to set COD charges for Payment method Cash On Deliver.

Dependencies

You can find the list of modules that have dependencies on cod-extracharge module, in the require section of the composer.json file located in the same directory as this README.md file.

Extension Points The cod-extracharge module does not provide any specific extension points. You can extend it using the Magento extension mechanism.

For more information about Magento extension mechanism, see Magento plug-ins and Magento dependency injection.

Additional information

For more Magento 2 developer documentation, see Magento 2 Developer Documentation. Also, there you can track backward incompatible changes made in a Magento EE mainline after the Magento 2.0 release.

Installing in your Magento

  • From your CLI run: composer require cybage/cod-extracharge:1.0.0
  • Log-in your Magento backend
  • Go to Stores > Configuration > Sales > Payment Methods > Cash On Delivery
  • Configure Cash On Delivery according to your preferences

Configuring fees

  • Log-in your Magento backend
  • Go to Stores > Configuration > Sales > Payment Methods > Cash On Delivery
  • Scroll down untill you see Export CSV button
  • Click and download cyb_codextracharge.csv file
  • Change the CSV file and upload using the "browse" button
  • Save

CSV syntax

Cash On Delivery CSV file syntax is really simple. You have 5 columns:website, country,amount_above , amount_max, cod_charge, is_pct

  • country: ISO 2 letters country code. Use * as wildcard to indicate all countries
  • website: Magento website code (e.g.: base). Use * as wildcard to indicate all websites
  • amount_above: Indicates the minimum amount to apply the additional fee
  • amount_msx: Indicates the maximum amount to apply the additional fee
  • cod_charge: The fee to apply (in base currency). Adding % after the fee indicates a percent value
  • is_pct: 1 indicates caluclate Cod charge percentagewise.Default it's 0.