WordPress.org

Forums

WooCommerce - excelling eCommerce
add fee, no tax and empty in admin (2 posts)

  1. jderoij
    Member
    Posted 1 year ago #

    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/

  2. jderoij
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.