Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions Magento_Catalog/templates/product/list.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,9 @@ $_helper = $block->getData('outputHelper');
<?= $block->getBlockHtml('formkey') ?>
<button type="submit"
title="<?= $escaper->escapeHtmlAttr(__('Add to Cart')) ?>"
class="action tocart primary bg-green-500 w-full text-white py-2 rounded-sm"
disabled>
<span><?= $escaper->escapeHtml(__('Add to Cart')) ?></span>
</button>
class="action tocart primary bg-green-500 w-full text-white py-2 rounded-sm">
<span><?= $escaper->escapeHtml(__('Add to Cart')) ?></span>
</button>
</form>
<?php else:?>
<?php if ($_product->isAvailable()):?>
Expand Down