Skip to content

Commit c680a27

Browse files
committed
Merge remote-tracking branch 'origin/MAGETWO-52653' into troll_p2
2 parents 45fd39b + a4db06a commit c680a27

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/view/frontend/templates/product

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/view/frontend/templates/product/list.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ $_helper = $this->helper('Magento\Catalog\Helper\Output');
8989
</button>
9090
</form>
9191
<?php else: ?>
92-
<?php if ($_product->getIsSalable()): ?>
92+
<?php if ($_product->isAvailable()): ?>
9393
<div class="stock available"><span><?php /* @escapeNotVerified */ echo __('In stock') ?></span></div>
9494
<?php else: ?>
9595
<div class="stock unavailable"><span><?php /* @escapeNotVerified */ echo __('Out of stock') ?></span></div>

0 commit comments

Comments
 (0)