If you can print out $cart.sub_total then you should be able to use it in your math equation.
If you absolutely cannot get the math function to work, the PHP code should work just as well.
__________________
Jeremy
X-Cart Gold v3.4.14 [Linux/Apache]
Heavily Modded
|