Merge pull request #26935 from woocommerce/fix/26822

[Tracker] Added order_total to orders_edit_status_change
This commit is contained in:
Claudio Sanches 2020-07-02 16:29:13 -03:00 committed by GitHub
commit 85580cfb4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ class WC_Orders_Tracking {
'previous_status' => $previous_status,
'date_created' => $order->get_date_created() ? $order->get_date_created()->date( 'Y-m-d' ) : '',
'payment_method' => $order->get_payment_method(),
'order_total' => $order->get_total(),
);
WC_Tracks::record_event( 'orders_edit_status_change', $properties );