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 45fd39b + a4db06a commit c680a27Copy full SHA for c680a27
app/code/Magento/Catalog/view/frontend/templates/product/list.phtml
@@ -89,7 +89,7 @@ $_helper = $this->helper('Magento\Catalog\Helper\Output');
89
</button>
90
</form>
91
<?php else: ?>
92
- <?php if ($_product->getIsSalable()): ?>
+ <?php if ($_product->isAvailable()): ?>
93
<div class="stock available"><span><?php /* @escapeNotVerified */ echo __('In stock') ?></span></div>
94
95
<div class="stock unavailable"><span><?php /* @escapeNotVerified */ echo __('Out of stock') ?></span></div>
0 commit comments