Skip to content

Commit 16ec785

Browse files
Jade-GGactions-user
authored andcommitted
Apply fixes from Duster
1 parent fad2b6f commit 16ec785

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Models/Product.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ public function getUnitPrice(int $quantity = 1, int $customerGroup = 0)
243243
// It wouldn't make sense to select a tier with a higher qty if the price is higher.
244244

245245
$prices = Arr::whereNotNull([$tierPrice, $this->price, $this->specialPrice]);
246+
246247
return $prices ? min($prices) : null;
247248
}
248249

0 commit comments

Comments
 (0)