From 9d850722e097b6b1ef4838471e848a4cbb2dc52d Mon Sep 17 00:00:00 2001 From: Aman deep sharma Date: Fri, 4 Jul 2025 14:48:16 +0530 Subject: [PATCH] Fixed: Calculation wrong when round type set to round total --- classes/Tools.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Tools.php b/classes/Tools.php index 365cd702b..47b95a4aa 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -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);