> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-cash-on-delivery-per-product-category/configuration.md).

# Configuration

Before configuring the extension you must enable the default cash on delivery payment method from the backend of your store.&#x20;

Navigate to Stores > Configuration > Sales > Payment Methods > Cash on Delivery Payment –&#x20;

Enabled: Admin will need to select YES for enabling the default cash on delivery payment method.

<figure><img src="/files/vyhj20TAU9XejDyDrAvy" alt=""><figcaption></figcaption></figure>

Once the extension is enabled successfully, go to Stores>Configuration to configure the extension for use.&#x20;

<br>

<figure><img src="/files/MQ687qmEVLvNvvkyOwPP" alt=""><figcaption></figcaption></figure>

**COD Per Product and Category:** Enable or Disable the extension from here. Set it as enabled to use the features of the extension.\
**Category or Product:** Admin can select cash on delivery per product and per category according to the requirement.
