Export orders like ‘shop_order_refund’, possible?
-
Hi again!
I was asking myself if it was possible to export orders with ‘post_type’ like ‘shop_order_refund’?
It seems that only orders with post_type ‘shop_order’ are retrieved during export, so only the ‘post_parent’ orders in fact.
Actually, I would like to export information on credit notes (PDF Invoices & Packing Slips plugin). But as you know, there may be several refunds for one order and I would like to have one refund, so one credit note, per ligne in the export file.
Here is an example of a desired line:
_wcpdf_credit_note_number, _wcpdf_credit_note_date_formatted, _order_totalMoreover, I need to filter the results by month (of the refund) :
Example: ‘_wcpdf_credit_note_date_formatted LIKE 2019-07’Thank you in advance for your feedback and have a nice end of day!
Kind Regards,
Sylvain
- The topic ‘Export orders like ‘shop_order_refund’, possible?’ is closed to new replies.