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.
1 parent 6ce91b9 commit 20c5d49Copy full SHA for 20c5d49
app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator.php
@@ -134,7 +134,7 @@ public function validate(Observer $observer)
134
}
135
136
if ($stockStatus) {
137
- if ($stockStatus->getStockStatus() == Stock::STOCK_OUT_OF_STOCK
+ if ($stockStatus->getStockStatus() === Stock::STOCK_OUT_OF_STOCK
138
|| $parentStockStatus && $parentStockStatus->getStockStatus() == Stock::STOCK_OUT_OF_STOCK
139
) {
140
$quoteItem->addErrorInfo(
0 commit comments