Skip to content

Commit 8b1afea

Browse files
authored
Update new_default_list.phtml
1 parent ada1c5f commit 8b1afea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/view/frontend/templates/product/widget/new/column/new_default_list.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<div class="product-item-actions">
3434
<div class="actions-primary">
3535
<?php if ($_product->isSaleable()): ?>
36-
<?php if (!$_item->getTypeInstance()->isPossibleBuyFromList($_item)): ?>
36+
<?php if (!$_product->getTypeInstance()->isPossibleBuyFromList($_product)): ?>
3737
<button type="button" title="<?= /* @escapeNotVerified */ __('Add to Cart') ?>"
3838
class="action tocart primary"
3939
data-mage-init='{"redirectUrl":{"url":"<?= /* @escapeNotVerified */ $block->getAddToCartUrl($_product) ?>"}}'>

0 commit comments

Comments
 (0)