Support » Plugin: Invoices for WooCommerce » Hide 0,00€ values in the tax rate column

  • Resolved Teresa In

    (@teresa-in)


    Woocommerce PDF invoice, version 2.8.0
    How to hide a value in column tax rate when it is zero?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Teresa In

    (@teresa-in)

    Comparing the file of previous versions 2.5.7 of the body.php file of the micro template, I found this difference in the code:

    version 2.6.0 micro template body.php
    line 156
    if ( isset( $tax_item_total ) ) {

    version 2.5.7 micro template body.php /* this version hides the numbers when the value is zero*/
    line 169
    if ( '' != $tax_item_total ) {

    I have very basic knowledge of php
    I’ve modified the code. I do not know if this will be correct but it works

    Plugin Author Bas Elbers

    (@baaaaas)

    @teresa-in the latest version of the plugin already fixed this. I can advice you to update plugin to latest version. There is also a brand new template that has much cleaner code and will have more features in the future. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide 0,00€ values in the tax rate column’ is closed to new replies.