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.
1 parent ada1c5f commit 8b1afeaCopy full SHA for 8b1afea
app/code/Magento/Catalog/view/frontend/templates/product/widget/new/column/new_default_list.phtml
@@ -33,7 +33,7 @@
33
<div class="product-item-actions">
34
<div class="actions-primary">
35
<?php if ($_product->isSaleable()): ?>
36
- <?php if (!$_item->getTypeInstance()->isPossibleBuyFromList($_item)): ?>
+ <?php if (!$_product->getTypeInstance()->isPossibleBuyFromList($_product)): ?>
37
<button type="button" title="<?= /* @escapeNotVerified */ __('Add to Cart') ?>"
38
class="action tocart primary"
39
data-mage-init='{"redirectUrl":{"url":"<?= /* @escapeNotVerified */ $block->getAddToCartUrl($_product) ?>"}}'>
0 commit comments