WordPress.org

Support

Support » Plugins and Hacks » add fee, no tax and empty in admin

add fee, no tax and empty in admin

  • With the add_fee function I add fee with tax.
    In the totals the fee is showing without tax and total tax is also without fee tax.

    In the admin I see the orders in the orders the fee line item has total 0 and tax 0 If I click on edit on that line the total suddenly appears and tax stays 0

    Are this 2 bugs or is there something wrong with our installation?

    https://wordpress.org/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • So I have been looking for a solution.

    In the admin there seems te be a bug. In the file html-order-fee.php on line 59 this is the code
    <?php if ( isset( $item['line_total'] ) ) echo wc_price( wc_round_tax_total( $item['line_tax'] ) );

    I think this should be
    <?php if ( isset( $item['line_total'] ) ) echo wc_price( wc_round_tax_total( $item['line_total'] ) );

    The problem with the tax stays

Viewing 1 replies (of 1 total)
  • The topic ‘add fee, no tax and empty in admin’ is closed to new replies.