WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Custom Statuses
Woo Dashboard > Monthly Sales (bug) (4 posts)

  1. murrayac
    Member
    Posted 1 year ago #

    After selecting a custom status for an order, the times are taken off the Woocommerce Monthly Sales widget in the WP dashboard. When adding them back to a default status they are added back on.

    Great plugin by the way :) Can I ask for custom images for the status' (shipped, delivered).

    http://wordpress.org/extend/plugins/woocommerce-custom-statuses/

  2. GreerTechnologies
    Member
    Posted 1 year ago #

    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?

  3. ankulbarar
    Member
    Posted 8 months ago #

    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. :)

  4. evolutionsigns
    Member
    Posted 6 months ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.