> 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-delete-orders-extension/configuration.md). Agents can also search and read this documentation through its [MCP server](https://docs.magecomp.com/~gitbook/mcp).

# Configuration

Once you have successfully installed the extension, go to **Stores -> Configuration > MageComp > Delete Order** to configure the extension for use.

Expand the **Configuration** section.

<img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FAsMLsIJCjUvUKMIYl6vC%2FPasted%20image%202026-12-02%2012.47.44.png?alt=media&amp;token=18e44ef8-1dbf-45ae-b063-7eacef93946a" alt="" height="220" width="624">

* **Delete Order:** Choose Enable to turn on the extension, or Disable to turn it off.
* **Delete Order (Restorable) Button Text:** Enter the label for the archive action in the Sales > Orders grid (for example, "Move to Archive"). Orders moved with this action go to the archive grid, where you can restore them or delete them permanently later.
* **Delete Order (Permanently) Button Text:** Enter the label for the permanent delete action in the Sales > Orders grid (for example, "Delete Order Permanently"). Orders deleted with this action cannot be restored.

Expand the **Delete Bulk Orders** section

<img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FumydhQkRDTgAj9WzrFGP%2FPasted%20image%202026-12-02%2012.47.48.png?alt=media&amp;token=930fbe00-70b5-4134-85ac-59e415fc01b6" alt="" height="228" width="624">

* **From Date:** Pick the start date of the range.
* **End Date:** Pick the end date of the range.

After you set the dates, click one of these buttons:

* **Move to Archive:** Moves all orders in the selected range to MageComp > Delete Order > Deleted Orders Archive, where you can restore, export, or permanently delete them.
* **Delete Permanently:** Deletes all orders in the selected range without archiving them, so they cannot be restored.

**Note:** Orders placed on both the From Date and the End Date are included.

**Note:** Permanent deletion also removes the linked invoices, shipments, and credit memos. If you might need these orders later, move them to the archive or export them first.
