When you’re processing your customers recent purchases you’re probably using the WooCommerce order overview page quite a lot to process and complete orders. One downside that really slows down the entire process is that the entire page is reloaded every time you update a single order status.

In this post I want to tackle that slow part of your workflow by having a solution available that will update order statuses more smoothly from the overview, without requiring that page reload for the update to come through.

Existing Order Updating from the Overview

Lets first establish how things currently work and have worked in the current versions of WooCommerce. When navigating to the WooCommerce > Orders page you’ll have a table of all recent orders. The order actions being on the far right, and a order preview on the left side through the Eye icon.

Updating a Order Status

Pressing one of the order action buttons will update the order status to processing / completed accordingly. Here’s a simple GIF showing how that would work;

As you can see the entire page is reloaded and you’ll have to wait until you can continue to perform a next action. Especially if your site isn’t optimized and doesn’t load within 1 second this will become more and more noticeable over time.

Previewing a Order

Within the preview of a order you can see all details needed to fulfill a order. This preview also includes similar ‘Processing’ and ‘Completed’ buttons to update the order status.

Similar as the overview buttons, these will reload the entire page in order to update the status – not ideal really..

Improving the Actions

To improve how these actions work it woud be perfect if you can more easily process the actions without having to hold and wait for the page to reload. Clicking on the processing/completed order action buttons should allow you to process multiple orders at the same time without waiting in between.

This can be accomplished with the following code snippet that can be added to your site.

With that implemented, it make the processing of orders a whole lot easier and quicker!

About the author: Jeroen Sormani is actively building WordPress, WooCommerce and Easy Digital Downloads plugins. Slightly obsessed by writing high quality code.
Follow Jeroen on Twitter

Leave a Reply

Your email address will not be published. Required fields are marked *