View Full Version : Discount with coupon calculates wrong total (OSCdox 2 RC2)

10-10-2005, 01:18 AM
hello there,

i have some problems with the OSCdox 2 RC2 and the coupon class (ot_coupon.php)

here the example of the checkout process

99.95 Cart value
-10.00 10% Coupon (9.995)
+5.00 Shipping (with tax 4.31/0.69)
13.10 (16% Tax/this is ok)
93.52 displayed Total (but the total should be 94.95)

The total order amount is calculated wrong. The tax of the coupon is deducted from the total and i don't know why.

For example the shopping cart ist 99.95 including 16% tax (86.16/13.79). I have defined a coupon for 10% off. The amout of the coupon is display right with 10.00 but the 1.38 coupon tax is deducted from the total but the total tax is calculated right.

I don't how to fix it. Appreciate any help. Thanks a lot

10-10-2005, 12:11 PM
on admin, cuppon you must to specify thet the cuppon is not aplicable on taxes.

10-11-2005, 11:40 AM
hello, thanks for your reply

in admin i used followed settings. in my opinion these settings should work. the tax have to be included. or what did you mean?

Settings Display Total
Do you want to display the Discount Coupon value?
- true
Include Shipping in calculation
- false
Include Tax in calculation.
- true
Re-Calculate Tax
- Standard