Applying tax before discount |

I am creating an e-commerce for a customer and he wants the tax rate not to be applied to the discount.
If a product is $ 100.00 and the discount is 20% the fee must be applied over $ 100.00 not the result ($ 80.00)
The standard of fees in woocommerce applies on the value after discounts not before.
Can anyone help me?
I search everywhere for a plugin or code to do that but i can’t find.

  • This topic was modified 1 hour, 32 minutes ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

Source link