Support » Plugin: WooCommerce Custom Statuses » Woo Dashboard > Monthly Sales (bug)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes I am having the same problem. I made an incomplete status but when i set it to incomplete it completely removes it from the monthly sales total?

    Hi,
    I believe you are looking to have custom statuses added to your reportings.
    You can add a custom function to add the order statuses to the reporting.
    I have added the code I have been using. Replace the “shipped” and “out-for-delivery” with your custom slugs.

    // Add Custom Statuses to The Reporting
    function my_report_status(){
    	$statuses = array( 'completed', 'processing', 'on-hold', 'ready-to-ship', 'out-for-shipping');
    	return $statuses;
    }
    add_filter('woocommerce_reports_order_statuses','my_report_status');

    Hope this helps. 🙂

    Hello ankulbarar – on a related issue – do you know if it is possible to allow payment of an order with a custom status from the “my account” page? – I have worked out how to show the “pay” link but payment does not actually work. Is there a way to set the status back to “pending” when the pay button is pressed to allow payment?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woo Dashboard > Monthly Sales (bug)’ is closed to new replies.