# Configuration

Once you have successfully installed the extension, go to **Stores -> Configuration** to configure the extension for use. Here you can find setting to enable or disable the extension.

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

* **Restrict Cash On Delivery:** Enable or disable extension from here.
* **Allow Availability Check on Product Page:** Set YES to allow customers to check COD availability from product page.
* **Show Estimated Delivery Time on Frontend:** Set YES to show estimated delivery time.
* **Estimated Delivery Message:** Enter estimated delivery message, use variables if required.
* **COD Availability Message:** Enter COD availability message to show when COD is available, use variable if required.
* **COD Unavailability Message:** Enter COD unavailability message to show when COD is unavailable, use variable if require&#x64;**.**
* **Import CSV:** Browse to upload CSV with entered zip codes.

For sample CSV file kindly look into your Extension folder at this path.

*Restrictcod\sample\_pincodes.csv*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.magecomp.com/magento-2-restrict-cash-on-delivery-extension/configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
