Forums / Built-in Shipping and Payment Modules / Sorting a tax problem when you write a discount coupon

Sorting a tax problem when you write a discount coupon

Locked

Views: 689

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
7 Apr 2009, 4:00 PM
#1
juanstan avatar

juanstan

New Zenner

Join Date:
Apr 2009
Posts:
1
Plugin Contributions:
0

Sorting a tax problem when you write a discount coupon

Hi all,

Everything looked fine in the payment section until I added a discount coupon. It was considering the discount in the shipping when it was calculating the tax but not when it was calculating the total prices so I got a wrong total because of that.

Here I leave a solution. It involves two files; both of them in includes\modules\order_total folder:

ot_coupon.php
ot_shipping.php

I have attached those two files.

If you use those files, please tell me if you get any problem.