Export Old Refunds
-
Hi,
I am trying to export refunds from April 2018 I have used the following code:
add_action('admin_init', function($statuses){ WC_Order_Export_Data_Extractor_UI::$object_type='shop_order_refund'; WC_Order_Export_Data_Extractor::$object_type='shop_order_refund'; } );
Which works fine but for the older orders it doesn’t seem to be getting the Line Total or Line Tax whats the best way to get the refunded amount for older orders I am assuming its not working because Woo have updated something in the 2 years?
Thanks for your help
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Export Old Refunds’ is closed to new replies.