An ecommerce setting request
-
We are using the setting for “exclude tax from revenue” in Integration > Woocommerce. But I would also like a setting for including/excluding tax from the item price in Integration > Woocommerce. As for now I had to hard-code the second parameter in get_item_total on row 453 in woocommerce.php to get the tax included in the item price.
$product_price = $order->get_item_total( $item, true );
I thought about using the filter for the $_temp_product_data but since it doesn’t include the order id I can’t get the item and therefore not the item_total.
I would love to have a setting in the admin to include or exclude the tax for product items.
- The topic ‘An ecommerce setting request’ is closed to new replies.