Index: src/includes/modules/order_total/ot_coupon.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>ISO-8859-15 =================================================================== --- src/includes/modules/order_total/ot_coupon.php (revision 36390ee90978493a04dfcc03ac14cc4263c9d0b5) +++ src/includes/modules/order_total/ot_coupon.php (revision ) @@ -489,8 +489,7 @@ //$tod_amount = ($valid_array[$p]['products_price'] * $tax_rate) / 100 * $t_gm_ratio; $t_gm_reduced_price = $valid_array[$p]['products_price'] - $od_amount * $t_gm_ratio; - $t_gm_reduced_price_tax = (($t_gm_reduced_price / (1 + $tax_rate / 100)) - $t_gm_reduced_price) * (-1); - $t_gm_reduce_tax = ((($valid_array[$p]['products_price'] / (1 + $tax_rate / 100)) - $valid_array[$p]['products_price']) * (-1)) - $t_gm_reduced_price_tax; + $t_gm_reduce_tax = $valid_array[$p]['products_price'] * ($tax_rate / 100) - $t_gm_reduced_price * ($tax_rate / 100); $order->info['tax_groups'][$tax_desc] -= $t_gm_reduce_tax; $order->info['tax'] -= $t_gm_reduce_tax;