Skip to content

Commit 1066343

Browse files
ENGCOM-3195: Fixed Issue: Special price of 0.0000 is not shown on frontend, but is calculated in cart #18604
- Merge Pull Request #18604 from maheshWebkul721/magento2:mahesh - Merged commits: 1. 8084aa9 2. 8296637 3. 4283936 4. 899a8a3
2 parents c9d1bec + 899a8a3 commit 1066343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Pricing/Price/BasePrice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function getValue()
3030
$this->value = false;
3131
foreach ($this->priceInfo->getPrices() as $price) {
3232
if ($price instanceof BasePriceProviderInterface && $price->getValue() !== false) {
33-
$this->value = min($price->getValue(), $this->value ?: $price->getValue());
33+
$this->value = min($price->getValue(), $this->value !== false ? $this->value: $price->getValue());
3434
}
3535
}
3636
}

0 commit comments

Comments
 (0)