Fixed: Calculation wrong when round type set to round total

This commit is contained in:
Aman deep sharma
2025-07-04 14:48:16 +05:30
committed by vishalsingh.qlo325
parent 66f207898b
commit 9d850722e0

View File

@@ -3817,7 +3817,7 @@ exit;
}
switch ($roundType) {
case Order::ROUND_TOTAL:
$value = $value;
$value = $value * $qty;
break;
case Order::ROUND_LINE:
$value = Tools::ps_round(($value * $qty), _PS_PRICE_COMPUTE_PRECISION_, $roundMode);