Skip to content

Order Management

order Management Cover

Introduction

Order processing is one of the critical aspects in e-Сommerce business. Such activities as order creation/editing/archiving, as well as order shipping and processing refunds (if necessary), should always be organized smoothly and logically.

When it comes to the above-mentioned aspects, Magento 2 is quite a good solution, because it supports the full order processing workflow, just with several limitations.

Order Workflow in Magento 2

Basically, the order process consists of the following steps:

Magento 2 Order Management

Once an order has been placed (but not paid and shipped) - its status is automatically set to Pending. Then, you create an invoice from the Admin Panel, and the status is changed to Processing. Finally, when you confirm shipment to finalize the order, it gets the status Complete.

With the default functionality, to modify an order, you have to cancel it, which is quite inconvenient. Say, if you make any changes to customer’s address, you would have to choose a shipping method again. If a customer used a credit card payment method, you would have to re-enter all the data. By default, you can’t edit orders that have been invoiced. Magento doesn’t allow you to delete orders by default. You can only set the order status to 'Cancelled'.

Magento 2 Order Management extension not only has the above-mentioned functionality but also significantly expands it:

  • Fully adjust the view of the standard Sales-Orders Grid. Display all important orders attributes without the necessity to go to the ‘View details’ page and hide any column.

  • Modify orders without canceling them: edit order & product details, set a custom price, modify product discount, preview the order’s Grand Total.

  • Invoice and/or ship orders, print invoices and credit memos, send invoices and shipments in bulk

Requirements and Installation

Order Management supports Open source (Community), Commerce (Enterprise) editions and Commerce cloud. The current version of the Magento installed on your website can be found in the lower right corner of any backend page.

Order Management has 3 separate ways of installation:

1) Copy the code (ready-to-paste package);
2) Use MageWorx Repository;
3) Use local Composer.

Note

The extension uses the free 3rd party libraries if you want to enable certain features:
- Device Detector and Spyc to detect a device type of the customers and display this information in the order view.

You should install it via the composer:

composer require matomo/device-detector
The free compatibility module should be also installed from https://github.com/mageworx/module-order-device-detector

Extension Configuration

Log into the Magento Admin panel and go to STORES ⟶ Configuration ⟶ MAGEWORX ⟶ Order Management. The configuration itself consists of 3 tabs.

Orders Grid

These settings define how the orders grid should be synced and updated. It might be useful if you import the orders or add them from 3rd party systems like ERP etc.

  • Sync order grid by opening - if enabled, the orders will be synced automatically when you open the orders grid in the back-end.

  • Sync order grid by cron - if enabled, the orders will be synchronized every 5 minutes using Magento 2 cron.

  • Order capture notification comment - if enabled, the orders will be synchronized every 5 minutes using Magento 2 cron.

  • Sync Orders Additional data – synchronization may be needed when you installed the extension for the first time or reenabled it. It can also be useful if you observe some incorrect information.

Orders Base

Magento 2 Order Management Configuration

Edit the Checkout Path setting if you are using some third-party checkout with the custom URL. This setting provides the correct detection of the area field.

Order Editor

Invoices / Shipments / Credit Memos

Update Invoices/Credit Memos - specify how invoices and credit memos are updated after modifying an order. Can be either Create new invoice (if possible) or Delete invoices and credit memos, create new invoice instead. The former option can be useful if orders modification history is needed, while the latter merely erases the old data.

If the store owner selects Delete invoices and credit memos, create new invoice instead, then all the old stuff will be removed, and the new order will be created.

Update Shipments has several options: Do not touch doesn't modify the shipping costs, Add new shipment is used if shipment modification history is needed, Delete shipment(s) and create new erases the old data.

Order Items

Magento 2 Order Management Configuration

Return Item To Stock specifies the default value of the back in stock option on the products grid when the product needs to be removed

Magento 2 Order Management Configuration

This will be described later in this document

Logger

  • Enable - Yes/No. This setting enables the functionality to log all the order edit changes and display them as the order’s comments in the back-end.

Payment Method

The extension adds a custom offline payment method, which can be selected when editing the orders in the back-end. This payment method is not available for your customers during the checkout on the front-end. It is done so you will be able to set a custom payment method when editing the orders.

Magento 2 Order Management Configuration

Extended Sales-Orders Grid

Log into the Magento Admin panel and go to Sales ⟶ Operations ⟶ Orders.

Magento 2 Order Management Sales-Orders Grid

The Columns tab has 28 extra columns to view on the grid. The columns are divided into separate groups:

  • Order

Magento 2 Order Management Sales-Orders Grid

We add these columns here:

  1. Coupon Code

  2. Weight

  3. Subtotal (Purchased)

  4. Modified

  5. Product Name

  6. SKU

  7. Product Thumbnail


  • Shipping

Magento 2 Order Management Sales-Orders Grid

We add these columns here:

  1. Shipments

  2. Tracking Numbers

  3. Shipping Fax

  4. Shipping Region

  5. Shipping Postcode

  6. Shipping City

  7. Shipping Telephone

  8. Shipping Country


  • Billing

Magento 2 Order Management Sales-Orders Grid

We add these columns here:

  1. Tax Code

  2. Tax Percent

  3. Tax Amount

  4. Tax Amount (Base)

  5. Tax Real Amount (Base)

  6. Invoices

  7. Billing Fax

  8. Billing Region

  9. Billing Postcode

  10. Billing City

  11. Billing Telephone

  12. Billing Country


  • Customer

Magento 2 Order Management Sales-Orders Grid

We add the Customer Id column here.

Mass Order Actions

Magento 2 out of the box provides several actions for the sales-orders grid. Magento 2 Order Management extension significantly extends the number of these actions.

Magento 2 Order Management Sales-Orders Grid

  • Complete action provides the ability to directly complete any order without any intermediate step.

  • Delete Completely action physically removes orders from the database.

  • Synchronize action synchronizes the orders manually.

Other actions are divided into 2 groups: the store owner can either notify or not the client of the changes in the order. These actions are as follows:

Do not notify

Magento 2 Order Management Sales-Orders Grid

  • Capture to capture the payment;

  • Invoice to create an invoice for an order;

  • Invoice + Print to create an invoice and print the invoice pdf

  • Ship to initiate the shipping

  • Ship + Print to initiate the shipping and print packing slip with shipping label

  • Invoice + Capture to create an invoice and capture a payment

  • Invoice + Capture + Ship to create an invoice & a shipment and capture a payment

  • Invoice + Capture + Ship + Print to create an invoice & a shipment, capture a payment and print order documents

The Notify Customer group has some additional email-oriented actions:

Magento 2 Order Management Sales-Orders Grid

  • Re-send Order Email

  • Re-send Invoice Email

  • Re-send Shipment Email

They allow resending the order, invoice and shipment emails accordingly.

Order Modification

Magento 2 Order Management Order Modification

The order information is gathered into several groups.

General Order Modifications

Magento 2 Order Management Order Modification

Click the Edit link near the order number to modify the date of the order. The store administrator can edit the order status here as well.

Account Information (Device & Area Detection)

Magento 2 Order Management Order Modification

Here, the store administrator can observe the extra fields: Device shows the client's device and the Area provides the information whether the order was created from frontend, backend or API (REST or SOAP). If you are using the third-party checkout, the Area field can show the incorrect API detection. To avoid this, edit the Checkout Path setting in the Orders Base configuration.

Account Information Modification

Magento 2 Order Management Order Modification

Click the Edit link near the Account Information to edit the personal information. Click the Select a Customer link to change the customer.

Editing Billing Address

Magento 2 Order Management Order Modification Billing

Click the Edit link near the Billing Address to modify its details. Bear in mind that changing address information will not recalculate tax. Once you are ready, click the Submit button.

Editing Shipping Address

Magento 2 Order Management Order Modification Shipping

Click the Edit link near the Shipping Address to modify its details. Bear in mind that changing address information will not recalculate tax and shipping methods. Once you are ready, click the Submit button.

Editing Shipping & Handling Information

Magento 2 Order Management Order Modification Shipping

When editing a shipping information you can:

  • change a shipping method
  • set a custom shipping cost (excluding / including taxes)
  • set a shipping discount
  • select / change a tax rate

Editing Payment Methods

Magento 2 Order Management Order Modification Shipping

Currently the extension allows you to select the offline payment methods only. The online methods will be added soon along with the re-authorization functionality.

You can also set a custom payment method and specify a custom title for certain order only.

Editing Items

Magento 2 Order Management Order Modification Items

Click the Edit link near the Items Ordered to modify its details. You can change price, quantity, tax, and discounts.

Magento 2 Order Management Order Modification Items

Once the store owner performs the changes, the popup with the new payment information appears below the products grid.

Magento 2 Order Management Order Modification Items

Any product can be deleted with the possibility to increase the quantity of this product in the inventory or not.

If more products need to be added, the store owner can click the Add Products button.

Magento 2 Order Management Order Modification Items

In the grid, you can add any product and specify the ordered quantity. When you are ready, click the Add Selected Product(s) to Order button.

For the configurable products, the Configure button appears near the product name.

Magento 2 Order Management Order Modification Items

When clicked, the pop-up appears with the possibility to add any simple option and specify its' quantity.

Logger

The extension has the functionality to log all the order edit changes and display them as the order’s comments in the back-end.

Example of the logger in action:

Magento 2 Order Management

REST API

Check more details about editing the orders via REST API here

Got Questions?

MageWorx offers FREE lifetime support and updates for any extension developed for Magento. Need help with the extensions? Feel free submit a ticket from https://www.mageworx.com/support/ 



MageWorx offers outstanding services developing custom-tailored solutions for Magento platform to attain your eCommerce objectives. Our professional impassioned team provides profound and custom oriented development of your project in a short timeframe.