From 83bc45fc3a2dbf42c2c8f011c688ba01566de21e Mon Sep 17 00:00:00 2001 From: Akif Gumussu Date: Tue, 10 Jun 2025 14:53:26 +0200 Subject: [PATCH] Fix disabled Add to Cart button --- Magento_Catalog/templates/product/list.phtml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Magento_Catalog/templates/product/list.phtml b/Magento_Catalog/templates/product/list.phtml index e13a2c1..b2065fe 100644 --- a/Magento_Catalog/templates/product/list.phtml +++ b/Magento_Catalog/templates/product/list.phtml @@ -104,10 +104,9 @@ $_helper = $block->getData('outputHelper'); getBlockHtml('formkey') ?> + class="action tocart primary bg-green-500 w-full text-white py-2 rounded-sm"> + escapeHtml(__('Add to Cart')) ?> + isAvailable()):?>