2
votes

I've set up VAT as including taxes for digital goods. In my cart and checkout the tax appears after the total amount as:

"(includes $xy VAT)"

I would rather much prefer what I saw on other shop sites:

"(includes $xy VAT estimated for Germany)"

My question:

1) is this a customization by the theme I'm using, is it a plug-in or can I set this up in WooCommerce myself? Is the estimated country on the cart set up by geolocation?

2) can I position the estimated tax text before the price with a hook or filter?

1

1 Answers

1
votes

For question 2 give this a try

add_filter( 'woocommerce_cart_total', 'wc_prefix_text_on_price' ); 

function wc_prefix_text_on_price( $price ) {
    $prefix = 'estimated tax';
    return  $prefix . $price;
}