BLACK FRIDAY DEALS: 25% OFF FOR ALL MAGENTO 2 EXTENSIONS Check Now
Magento 2

Compatible with: Magento 2.4.7 - 2.4.9, PHP 8.3+

Delete Orders

Delete orders, invoices, shipments, credit memos and transactions from the Magento admin without losing them right away.

As low as $37.49 Regular Price $49.99
Purchase options
Subscribe and save! ? Get it delivered automatically and pay less. Pause, skip or cancel any time in your account.
Subscription details

Choose the options above to see the subscription details.

Subscriptions renew automatically. Manage, pause or cancel them in your account.

Check it fits your store

Questions about compatibility? Contact us.

Details

Magento 2 Delete Orders lets admin users delete orders and sales documents, keep them in a bin for a chosen number of days, and restore them with their original data.

Manage sales records with Magento 2 Delete Orders

Delete orders, invoices, shipments, credit memos and payment transactions directly from the admin:

  • Use the Delete action in the Actions menu of the Orders, Invoices, Shipments, Credit Memos and Transactions grids under Sales.
  • Delete invoices, shipments and credit memos from their tabs on an order.
  • Use the Delete button on each record page, with a confirmation.

The extension also handles Adobe Commerce archive grids.

Keep related data together

A deleted order takes its related data with it: items, addresses, payment, comments, invoices, shipments with tracking numbers, credit memos, transactions, grid rows and order taxes. The extension also includes rows that other extensions link to the order through database foreign keys.

Recalculate order totals and status

Deleting or restoring an invoice, shipment or credit memo recalculates the order's invoiced, paid, shipped and refunded amounts and quantities, plus its status. This lets you invoice, ship or refund the order again.

Restore records with their original data

Restore a record with one click or restore multiple records at once. Restores preserve the original numbers, IDs and data.

  • Invoices, shipments, credit memos and transactions need their order. If the order was also deleted, a message tells you to restore it first, and the record page links to it.
  • When restoring multiple records, the extension restores orders first.
  • The extension refuses restores that would conflict with newer documents or reused numbers and displays a clear message.

Choose a retention period

Set how many days to keep deleted records. The default is 30 days; setting the period to 0 deletes records permanently right away.

After the retention period ends, a nightly cron job permanently deletes the records. Permanently deleting an order also removes its documents that were deleted separately. Admins receive an admin notification and, if configured, an email listing the records.

Restored and permanently deleted records remain listed as history, showing who performed each action and when.

Control access and large cleanups

  • Optionally cancel open orders before deletion to return stock and void an authorized payment.
  • Set separate role permissions for deleting each record type, viewing the bin, restoring records and deleting permanently.
  • Each deletion and restore runs in one database transaction.
  • Use command-line commands to delete, list, restore and purge records during large cleanups.

Setup and compatibility

Manage settings in Stores › Configuration › Techimprovement › Delete Orders. Find the bin in Sales › Operations › Deleted Orders & Documents.

  • Platform: Magento Open Source or Adobe Commerce 2.4.7–2.4.9.
  • PHP: 8.2–8.5.
  • Themes: Any storefront theme, including Luma, Luma-based themes and Hyvä. The extension works only in the admin and adds nothing to the storefront.
  • Cron: Magento cron must run for automatic permanent deletion and notifications.
  • Email: Configure Magento email sending if you want notification emails.

Edition options and included download

Choose the Community, Enterprise or Magento Cloud edition. This digital product includes the Delete Orders — Version 1.0.0 download.

Change Log

Version 1.0.0 – November 1, 2026

New

  • Delete orders, invoices, shipments, credit memos and payment transactions from the admin: Delete in the Actions menu of the sales grids (and of the order page tabs) and a Delete button on each record's page.
  • Deleted records are copied with every database row that belongs to them (found from the database foreign keys, plus the sales grids and order taxes) and kept in Sales › Operations › Deleted Orders & Documents for the number of days set in Keep Deleted Records (Days) (default 30; 0 deletes permanently right away).
  • Restore one or many records with their original numbers, IDs and data. Documents need their order: restore the order first. Mass restore puts orders back first.
  • Deleting or restoring an invoice, shipment or credit memo recalculates the order's invoiced, paid, shipped and refunded totals and quantities and its state (setting Update the Order).
  • Optional cancellation of open orders before they are deleted (stock and authorizations).
  • Daily cron job that deletes expired records permanently and notifies the admins (admin notification and optional email with its own template).
  • Separate permissions for deleting each record type, viewing the bin, restoring and deleting permanently.
  • Commands techimprovement:delete-order:delete, :list, :restore and :purge.

Reviews

Be the first to review Delete Orders

Reviews are written by customers with an account. Sign in to tell others how it works on your store.

Ask a Question

Request

Sign in

Sign in with another account

© 2026 Techimprovement. All rights reserved.