You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.
In WooCommerce reporting, the totals are still calculated based on postmeta fields. The public function get_order_report_data( $args = array() ) method on the class WC_Admin_Report are not designed yet (I believe) to take these calculations to a separate table, instead of postmeta.
Steps to reproduce:
Create a new order
Set the order to completed so the order is taken into account with reporting
Flush transients to make sure resulting report is not cached.
See the reports totals are not updated with new order
Extra verification steps
Run the CLI backfill command
Flush transients again to kill cached reports
See the reports totals are now updated with the new order totals
Approach
My best guess is that this needs WooCommerce core enhancements, but I have to dive in a little deeper to make sure this is the case.
The text was updated successfully, but these errors were encountered:
In WooCommerce reporting, the totals are still calculated based on postmeta fields. The
public function get_order_report_data( $args = array() )
method on theclass WC_Admin_Report
are not designed yet (I believe) to take these calculations to a separate table, instead of postmeta.Steps to reproduce:
Extra verification steps
Approach
My best guess is that this needs WooCommerce core enhancements, but I have to dive in a little deeper to make sure this is the case.
The text was updated successfully, but these errors were encountered: