We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 31d8d7f + 1066343 commit 43c50c3Copy full SHA for 43c50c3
app/code/Magento/Catalog/Pricing/Price/BasePrice.php
@@ -30,7 +30,7 @@ public function getValue()
30
$this->value = false;
31
foreach ($this->priceInfo->getPrices() as $price) {
32
if ($price instanceof BasePriceProviderInterface && $price->getValue() !== false) {
33
- $this->value = min($price->getValue(), $this->value ?: $price->getValue());
+ $this->value = min($price->getValue(), $this->value !== false ? $this->value: $price->getValue());
34
}
35
36
0 commit comments