• Resolved negru13

    (@negru13)


    Hello, I’ve updated your plugin to Version 2.7.9 and now when I click on “Orders” “All” in my Woocommerce I get “No Orders found”, although I have 621 orders in total. In the plugin settings, the Orders status has selected all the categories to display. How can I fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter negru13

    (@negru13)

    Update:
    The issue was not the plugin, was the wordpress 5.0.3 update that caused the Orders (All) not showing up problem.
    For fixing this issue add to your website through a code snippet plugin this code:

    function fix_request_query_args_for_woocommerce( $query_args ) {
    	if ( isset( $query_args['post_status'] ) && empty( $query_args['post_status'] ) ) {
    		unset( $query_args['post_status'] );
    	}
    	return $query_args;
    }
    add_filter( 'request', 'fix_request_query_args_for_woocommerce', 1, 1 );

    This is a temporary fix.

    • This reply was modified 6 years, 2 months ago by negru13.
    Plugin Author Kokomo

    (@kokomoweb)

    Hi @negru13, thanks for the update!

    This problem was indeed introduced with wordpress 5.0, but it was solved by updating woocommerce to the latest version, so you don’t need that filter, simply update woocommerce ??

    enjoy the plugin

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce Orders “All” shows No Orders found’ is closed to new replies.