Skip to content

Commit

Permalink
magento#16069: Configurable product price is not displayed if all chi…
Browse files Browse the repository at this point in the history
…ldren are out of stock and even if Display Out of Stock Products is set to "yes"

- remove unneeded usage of the variable.

(cherry picked from commit 207e2e1)
  • Loading branch information
vpodorozh committed Oct 24, 2018
1 parent cdc3895 commit 84a29a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/code/Magento/Catalog/Pricing/Render/FinalPriceBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,11 @@ protected function _toHtml()
/**
* @param SaleableInterface $salableItem
* @return bool
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
protected function isApplySalableCheck(SaleableInterface $salableItem): bool
{
return (bool)$salableItem;
return true;
}

/**
Expand Down

0 comments on commit 84a29a5

Please sign in to comment.