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 0f5331a + 44dfcac commit f450ee7Copy full SHA for f450ee7
app/code/Magento/Catalog/view/frontend/templates/product/list.phtml
@@ -72,7 +72,9 @@ $_helper = $this->helper(Magento\Catalog\Helper\Output::class);
72
</strong>
73
<?= $block->getReviewsSummaryHtml($_product, $templateType) ?>
74
<?= /* @noEscape */ $block->getProductPrice($_product) ?>
75
- <?= $block->getProductDetailsHtml($_product) ?>
+ <?php if ($_product->isAvailable()) :?>
76
+ <?= $block->getProductDetailsHtml($_product) ?>
77
+ <?php endif; ?>
78
79
<div class="product-item-inner">
80
<div class="product actions product-item-actions"<?= strpos($pos, $viewMode . '-actions') ? $block->escapeHtmlAttr($position) : '' ?>>
0 commit comments