In the latest update, where you chose what packages you want to keep/remove, I have wasted many tens of minutes trying to keep wc admin and the new analytics but disable rest, but no matter what combination I try, it will not work / fully work.
any suggestions?
]]>And apparently it’s caused by some wp-admin queries, see example attached. There are multiple queries that take up to 18-20sec, which results in a loading time of roughly 160sec for the dashboard. Other pages in the backend are fine.
Does anyone have an idea how to solve this?? For months now we had this issue, even when keeping up with the latest releases of WP, WC, WC Admin and other plugins, nothing ever changed.
Example query-monitor report about slow queries:
SELECT SUM( CASE
WHEN gowp_wc_order_stats.parent_id = 0
THEN 1
ELSE 0
END ) as orders_count, SUM(gowp_wc_order_stats.num_items_sold) as num_items_sold, ( SUM(gowp_wc_order_stats.total_sales) + COALESCE( SUM(discount_amount), 0 ) - SUM(gowp_wc_order_stats.tax_total) - SUM(gowp_wc_order_stats.shipping_total) + ABS( SUM( CASE
WHEN gowp_wc_order_stats.net_total < 0
THEN gowp_wc_order_stats.net_total
ELSE 0
END ) ) ) as gross_sales, SUM(gowp_wc_order_stats.total_sales) AS total_sales, COALESCE( SUM(discount_amount), 0 ) AS coupons, COALESCE( coupons_count, 0 ) as coupons_count, ABS( SUM( CASE
WHEN gowp_wc_order_stats.net_total < 0
THEN gowp_wc_order_stats.net_total
ELSE 0
END ) ) AS refunds, SUM(gowp_wc_order_stats.tax_total) AS taxes, SUM(gowp_wc_order_stats.shipping_total) AS shipping, SUM(gowp_wc_order_stats.net_total) AS net_revenue, SUM( gowp_wc_order_stats.num_items_sold ) / SUM( CASE
WHEN gowp_wc_order_stats.parent_id = 0
THEN 1
ELSE 0
END ) AS avg_items_per_order, SUM( gowp_wc_order_stats.net_total ) / SUM( CASE
WHEN gowp_wc_order_stats.parent_id = 0
THEN 1
ELSE 0
END ) AS avg_order_value, COUNT( DISTINCT( gowp_wc_order_stats.customer_id ) ) as total_customers
FROM gowp_wc_order_stats
LEFT JOIN (
SELECT order_id, SUM(discount_amount) AS discount_amount, COUNT(DISTINCT coupon_id) AS coupons_count
FROM gowp_wc_order_coupon_lookup
GROUP BY order_id ) order_coupon_lookup
ON order_coupon_lookup.order_id = gowp_wc_order_stats.order_id
WHERE 1=1
AND ( gowp_wc_order_stats.status NOT IN ( 'wc-trash','wc-pending','wc-failed','wc-cancelled' ) )
AND gowp_wc_order_stats.date_created <= '2021-07-15 23:59:59'
AND gowp_wc_order_stats.date_created >= '2021-07-01 00:00:00'
Automattic\W\A\A\R\O\S\DataStore->get_data()
Plugin: woocommerce-admin
]]>Apologies if the title is quite vague but I ran out of characters to fully explain the problem.
We have a website which has a high amount of orders per hour. Last month, we installed the plugin, Disable WC Admin as the scheduled actions responsible for importing the data were delaying other plugin operations on the site.
We have recently re activated the WC Admin and need to import the previous 30 days of data. I can see in the settings page, there’s an option to import the ‘Last 30 Days’ to import but this throws up the error ‘there was a problem rebuilding your data’. If i then refresh the page, i can see it defaults back to the ‘All’ option and runs without any issues.
My question is, if i leave it on ‘All’ will it eventually import the missing 30 days of data? Currently, it is only importing the latest orders which are being placed on the site? Ideally, it would be good if when there are no orders being placed on the site, the WC Admin will schedule the previous missing orders.
]]>When comparing the data i noticed that by the old Woo Reports by default includes Processing, On Hold and Completed orders and that there’s an option to exclude statutes in the new WC Admin.
I managed to filter the old Woo Reports to include just ‘completed’ and ‘gift card’ orders to match the settings in WC Admin but there’s still a difference in revenue.
For example if i filter the date range to show August month as a whole i get the following figures:
WC Admin
£1,981,942.29 gross sales
151,142 orders
Woo Reports
£1,972,605.86 gross sales
151,305 orders
As you can see from the figures above, the new WC Admin shows less orders but more revenue than the Woo Reports.
My first guess was that the historical data import hadn’t completed but when checking the progress in the settings page it displays as completed.
I then went onto check to disable the Woo Reports caching incase this was causing old data to show but this hasn’t made a difference.
The issue we have now is we’re not sure what data is correct and the client needs to go in and export reports.
Is there another reason why the reports are showing differently? Like i said, they both include the same order statutes so there must be something else which is being included which I haven’t identified.
Can you help please?
]]>I currently have WooCommerce 4.3.1, Bing URL Submissions Plugin 1.0.0, and WordPress 5.4.2 installed.
On my administration page, whenever I click WooCommerce > Dashboard, the WooCommerce dashboard does not appear. Instead, the dashboard for the Bing URL Submissions Plugin is displayed.
When the Bing URL Submissions Plugin is deactivated, the WooCommerce dashboard displays normally when its menu item is clicked.
]]>Here‘s a screenshot of my installed Woocomerce plugins, and it’s not showing that any updates are available.
Can anyone advise if the warning is legitimate, and what to do if it’s not?
]]>This morning we updated WooCommerce to version 4.0. To our surprise some sort of ‘Woo Admin’ seems to be built in this new version. Am I right?
The Woo-analytics tool is pretty slow on our site. Charts take a long time to load (even while we’re in test-mode and have only on registered order).
Is there any option to disable this function?
Thanks in advance, Yuri
]]>