• Resolved Kiway

    (@kiway)


    Hello,
    is it possible to export some columns like “Order Line Total” or “Order shipping amount” with tax included?
    Thanks

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

    (@algolplus)

    Hello

    Could you try these filters

    //add shipping tax
    add_filter('woe_get_order_value_order_shipping',function ($value, $order,$fieldname) {
    	return $value+$order->get_shipping_tax();
    },10,3);
    //add item tax
    add_filter('woe_get_order_product_value_line_total',function ($value, $order, $item, $product, $item_meta) {
    	return $value+$item->get_total_tax();
    },10,5);
    Thread Starter Kiway

    (@kiway)

    Many thanks, it works like a charm!

    Plugin Author algol.plus

    (@algolplus)

    you’re welcome.

    Thread Starter Kiway

    (@kiway)

    Hello,
    the filters above does not work anymore with the latest update, how can I fix it?
    Thank you

    Plugin Author algol.plus

    (@algolplus)

    Hello

    I put both codes to textarea “Custom PHP” (in section “Misc Settings”) and I’ve got modified values.

    thanks, Alex

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Tax included’ is closed to new replies.