• Resolved Teresa In

    (@teresa-in)


    There is a problem with the micro template from 2.6.0 version, the percentage of the taxes title is repeated, also when there are different taxes in two columns is shown the column filled with zeros

    In the previous version 2.5.7 of the micro template the tax rate title it was good, moreover when the tax was zero did not appear.

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

    (@teresa-in)

    I have deleted code from the body.php file of the micro template, which is between / *. ‘ ‘ . WC_Tax::get_rate_percent( $tax_item[‘rate_id’] )* /.
    I do not know if this will be correct but it works

    <!– Tax –>
    line 67
    <th class="align-left"><?php echo $tax_item['label'] /*. ' ' . WC_Tax::get_rate_percent( $tax_item['rate_id'] )*/; ?></th>

    <!– Tax –>
    and line 259
    <td colspan="<?php echo $colspan['right_left']; ?>"><?php echo $tax->label /*. ' ' . WC_Tax::get_rate_percent( $tax->rate_id )*/; ?>

    Plugin Author Bas Elbers

    (@baaaaas)

    Yes this is the way to go, but it’s better to use the minimal template instead of micro. Minimal template does not use the WC_Tax::get_rate_percent( $tax->rate_id ) method anymore.

    If you want to use micro and don’t want to lose these changes, make sure you create a custom template for it. See FAQ.

    Thread Starter Teresa In

    (@teresa-in)

    Yes, I created a custom template

    I need to have the disaggregated taxes as in the micro template.
    In the minimal template I can not do it

    Thanks Bas
    Regards

    Plugin Author Bas Elbers

    (@baaaaas)

    I’m busy with a new update that will add the disaggregated taxes to the minimal template. Will update upcoming week. Let me know if you have any more questions. Will close topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘The tax rate title is twice. Micro template 2.8.0’ is closed to new replies.