Skip to content

Commit aa9a1b7

Browse files
authored
Fix max original price for product with children (#1155)
1 parent 670ab0b commit aa9a1b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Helper/Entity/Product/PriceManager/ProductWithChildren.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ protected function getMinMaxPrices(Product $product, $withTax, $subProducts, $cu
5050
$original = min($original, $basePrice);
5151

5252
$max = max($max, $price);
53-
$originalMax = max($max, $basePrice);
53+
$originalMax = max($originalMax, $basePrice);
5454
}
5555
} else {
5656
$originalMax = $original = $min = $max;

0 commit comments

Comments
 (0)