We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1d4381 + 304e7e8 commit 28c92cdCopy full SHA for 28c92cd
app/code/Magento/CatalogInventory/Block/Stockqty/AbstractStockqty.php
@@ -131,7 +131,8 @@ public function getPlaceholderId()
131
*/
132
public function isMsgVisible()
133
{
134
- return $this->getStockQty() > 0 && $this->getStockQtyLeft() > 0 && $this->getStockQtyLeft() <= $this->getThresholdQty();
+ return $this->getStockQty() > 0 && $this->getStockQtyLeft() > 0
135
+ && $this->getStockQtyLeft() <= $this->getThresholdQty();
136
}
137
138
/**
0 commit comments