> 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="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FbQmUUNYWPpExCxkOO36K%2Fimage.png?alt=media&amp;token=5a336c1c-24d6-4a73-b444-f46dd0f51987" 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="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FIqAtKLeluGcziWJPXt2I%2Fimage.png?alt=media&amp;token=57150172-fcdd-4f2d-b3d5-72a1eb6e87af" 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.
