Removing sales from WooCommerce Status admin widget
-
Hello,
We experience some performance issues on a busy Woo site (~1000 orders daily, 5 Shop Managers) which have been pin-pointed to slow queries run by Woo Status widget.
I would like to leave Orders status (processing / on-hold) and Stock info (low in stock / out of stock) but remove Net Sales and Top Seller reports, as these are very slow queries in case of our database (4GB).
Is there a function I could run to remove only Net Sales and Top Seller reports? Of course I mean preventing private function get_top_seller() and private function get_sales_report_data() (both in class-wc-admin-dashboard.php) from running these queries, not just hiding the results with CSS.
Any help would be much appreciated.
- The topic ‘Removing sales from WooCommerce Status admin widget’ is closed to new replies.