maniyatech/magento2-delete-orders

Easily delete Magento 2 orders via mass actions, individual view page, or command line.

1.0.0 2025-06-13 12:39 UTC

This package is auto-updated.

Last update: 2025-06-13 12:45:09 UTC


README

Easily delete Magento 2 orders via mass actions, individual view page, or command line.

Key features include:

  • Mass delete orders from the sales order grid using custom mass action.
  • Delete individual orders from the order view page in a single click.
  • Command-line deletion support with php bin/magento order:delete <order_id> for easy scripting and automation.

How to install ManiyaTech_DeleteOrders module

Composer Installation

Run the following command in Magento 2 root directory to install ManiyaTech_DeleteOrders module via composer.

Install

composer require maniyatech/magento2-delete-orders
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f

Update

composer update maniyatech/magento2-delete-orders
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f

Run below command if your store is in the production mode:

php bin/magento setup:di:compile

Manual Installation

If you prefer to install this module manually, kindly follow the steps described below -

  • Download the latest version here
  • Create a folder path like this app/code/ManiyaTech/DeleteOrders and extract the main.zip file into it.
  • Navigate to Magento root directory and execute the below commands.
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f