Index: src/includes/modules/order_total/ot_coupon.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- src/includes/modules/order_total/ot_coupon.php (revision b815ec19d669cdb7370e2a4034c13dc26597a838) +++ src/includes/modules/order_total/ot_coupon.php (revision ) @@ -947,6 +947,7 @@ global $order, $xtPrice; $qty = $_SESSION['cart']->contents[$product_id]['qty']; + $basket_products_id = $product_id; $products_id = xtc_get_prid($product_id); // products price @@ -964,12 +965,12 @@ if($this->include_tax == 'true') { - $total_price += $qty * $xtPrice->xtcGetPrice($product['products_id'], $format = false, 1, $product['products_tax_class_id'], $product['products_price'], 1); + $total_price += $qty * $xtPrice->xtcGetPrice($basket_products_id, $format = false, 1, $product['products_tax_class_id'], $product['products_price'], 1,0,true,true); $_SESSION['total_price'] = $total_price; } else { - $total_price += $qty * $xtPrice->xtcGetPrice($product['products_id'], $format = false, 1, 0, $product['products_price'], 1); + $total_price += $qty * $xtPrice->xtcGetPrice($basket_products_id, $format = false, 1, 0, $product['products_price'], 1,0,true,true); } $products_tax = $xtPrice->TAX[$product['products_tax_class_id']]; \ No newline at end of file