Skip to content

Commit 207e2e1

Browse files
authored
magento#16069: Configurable product price is not displayed if all children are out of stock and even if Display Out of Stock Products is set to "yes"
- remove unneeded usage of the variable.
1 parent 0b19e04 commit 207e2e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Catalog/Pricing/Render/FinalPriceBox.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,11 @@ protected function _toHtml()
9191
/**
9292
* @param SaleableInterface $salableItem
9393
* @return bool
94+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
9495
*/
9596
protected function isApplySalableCheck(SaleableInterface $salableItem): bool
9697
{
97-
return (bool)$salableItem;
98+
return true;
9899
}
99100

100101
/**

0 commit comments

Comments
 (0)