I have a complex combo i cant' solve using standard woocomerce taxes.
Here an example:
- Product: 20€
- Add a 4%: 0.80€
- Add a 22%: 4.58€
- Total to pay: 25.38
This can be accomplished by standard woocomerce taxes. In one case for customer with a specific fiscal rates, to total before taxes should be subctracted the 20% called 'ritenuta di acconto' but this do no changes other taxes. In this case we have:
- Product: 20€
- Add a 4%: 0.80€
- Add a 22%: 4.58€
- Subctract Ritenuta di Acconto: -4.00
- Total to pay: 21.38
Any help or suggestion it's days i'm getting mad on this, the first problem in years i couldn't solve using one of the many hooks woocomerce give us.
Thanks
I tried to change this visually and using woocommerce_calculated_total filters, at video i get the desired calculation and amount, the totals array is correct but when i push paypal payment it always make a payment of 25.38 even if total is forced to 21.38 like it recalculate all no using the filter anymore. I'm using the WooCommerce PayPal Payments plugin to have some extra option available (like the pay later option)