Edit “Processing” Orders in WooCommerce

We have a customer where all of their items are variable products. As you can imagine, there ends up being requests to change sizes, colors, or other variations.

Once they’ve paid for the order, the status of the order gets set to “Processing” and WooCommerce won’t let you edit that order.

Thanks to Nicola Mustone’s article How make “Processing” orders editable, it’s as simple as adding this code to your theme’s functions.php:

add_filter( 'wc_order_is_editable', 'wc_make_processing_orders_editable', 10, 2 );
function wc_make_processing_orders_editable( $is_editable, $order ) {
    if ( $order->get_status() == 'processing' ) {
        $is_editable = true;
    }

    return $is_editable;
}

FIX YOUR WEBSITES HEALTH

Results may vary. Some websites may require ongoing therapy.

Real websites, real recovery stories

SUCCESS STORIES

Lisa D.

Store Owner

My website was having performance anxiety. After a few optimization sessions, it's loading faster than ever and enjoys user interactions again.

Treated for:
Performance Depression

Hanna A.

Blog Owner

I thought my site's 404 errors were just a phase, but they helped me understand it was a deeper navigation issue. Now my users can find everything they need.

Treated for:
404 Anxiety Disorder

Robert R.

CEO

Our mobile responsiveness was all over the place. The therapy sessions really helped our site develop a consistent identity across all devices.

Treated for:
Mobile Identity Crisis