Skip to content
Advertisement

How to calculate order total after check out

I have calculated a different custom order total in Woocommerce:

JavaScript

But my calculations don’t work and I’m not able to make it for instance.

Any advice or help please?

Advertisement

Answer

Is there ever a time you would have both tax rates? Otherwise, I would think one variable for taxes would be enough, like so:

JavaScript

Also, what do you mean your calculations are working?

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement