Skip to content

Commit 4fb0be0

Browse files
Qty box visibility issue in whishlist when product is out of stock
1 parent 1a805d0 commit 4fb0be0

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Wishlist/view/frontend/templates/item/column

1 file changed

+1
-1
lines changed

app/code/Magento/Wishlist/view/frontend/templates/item/column/cart.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $allowedQty = $block->getMinMaxQty();
1818
<?php endforeach;?>
1919
<div class="box-tocart">
2020
<fieldset class="fieldset">
21-
<?php if ($item->canHaveQty() && $product->isVisibleInSiteVisibility()): ?>
21+
<?php if ($item->canHaveQty() && $product->isVisibleInSiteVisibility() && $product->isSaleable()): ?>
2222
<div class="field qty">
2323
<label class="label" for="qty[<?= $block->escapeHtmlAttr($item->getId()) ?>]"><span><?= $block->escapeHtml(__('Qty')) ?></span></label>
2424
<div class="control">

0 commit comments

Comments
 (0)