• Hello! First of all, thanks for developing this useful plugin.
    I want to export all the orders that don’t have a shipping method within their metadata.
    Is there any solution for this in “Filter by shipping”?
    Leaving the filter blank it simply exports all the orders.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author algol.plus

    (@algolplus)

    Hello

    please, add this code to section “Misc Settings”
    thanks, Alex

    //  export only orders without shipping 
    add_filter( 'woe_order_export_started',  function ( $order_id ) { 
      $order = new WC_Order($order_id);
      return   count($order->get_items('shipping'))==0  ? $order_id: false;
    });
Viewing 1 replies (of 1 total)

The topic ‘Export Orders Without Shipping’ is closed to new replies.