• Resolved coodeis

    (@xkouhiax)


    I’ve been searching for a way to exclude some orders from Woocommerce reports but no luck yet. In the Woocommerce order there’s a meta field (ACF) which is automatically checked for one type of orders. Also the products of those orders belongs to specific category. Those orders should be exluded from Woocommerce Reports.

    So what I need is – either:

    a) Exclude from Woocommerce reports all orders which have value 1 on “specific_order” field

    b) Exclude from Woocommerce reports all orders which have product item from category Y

    I found “woocommerce_reports_get_order_report_data_args” filter but did not succeed to add meta condition on it.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Reports – Filter some orders out of reports’ is closed to new replies.