I set up a 19% standard tax amount in my Woocommerce Online-Shop. Unfortunatley - now there is a text "estimated for Germany" behind the (includes 20,12 €... part below the total-amount in my checkout page (see image below). I guess it displays the text because the calculated tax amount has a lot of decimals.
HTML
<small class="includes_tax">
(includes
<span class="woocommerce-Price-amount amount">20.12
<span class="woocommerce-Price-currencySymbol">€<span>
</span> estimated for Germany)
</small>
This is not the case by using a 20% tax amount.
How to remove the "estimated for Germany" text?
I was not able find any filter or html class to target the text.
The responsable code is in there, located in
wc_cart_totals_order_total_html()
function.So we can use hooked function hooked in
woocommerce_cart_totals_order_total_html
filter hook, where we'll remove this annoying behavior (added compatibility for versions since 2.6.x and up):This code goes on function.php file of your active child theme (or theme).
Tested and works.