I’m updating to the latest version of WooCommerce from a very old version. I have noticed that when using the option “Display tax totals: Itemized”, the Tax name is not displayed anymore in the Sub Total line included in Cart page, Checkout page and in any customer e-mail, invoice, etc.
The reason appears to be that if the Tax rate is set to 0.0000%, the new version of WooCommerce automatically hides that line after the Sub Total, look below:
If I set rates to 1.0000% or whatever, it appears. This exactly the way I want things to be displayed, look below:
The problem is that I need that information to be displayed, the VAT rates in my store are always 0% due to a VAT extemption regime (see screenshot), but depending on the customer country I need to write what Tax extemption is being used, and I’m using the Tax name for that.
Any ideas to force the displaying of the Tax name even if the rate is set at 0.0000%?
If that is not possible, how can I create a shortcode with the Tax name so I can use it at least in my order invoice, emails, etc.?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…