diff --git a/vendor/magento/module-catalog-widget/view/frontend/templates/product/widget/content/grid.phtml b/vendor/magento/module-catalog-widget/view/frontend/templates/product/widget/content/grid.phtml index 000f3ffd3693..8677a47e0729 100644 --- a/vendor/magento/module-catalog-widget/view/frontend/templates/product/widget/content/grid.phtml +++ b/vendor/magento/module-catalog-widget/view/frontend/templates/product/widget/content/grid.phtml @@ -6,10 +6,14 @@ use Magento\Framework\App\Action\Action; -/** @var \Magento\CatalogWidget\Block\Product\ProductsList $block */ +/** + * @var \Magento\CatalogWidget\Block\Product\ProductsList $block + * @var \Magento\Framework\Escaper $escaper + */ // phpcs:disable Generic.Files.LineLength.TooLong // phpcs:disable Magento2.Templates.ThisInTemplate.FoundHelper +// phpcs:disable Magento2.Templates.ThisInTemplate.FoundThis ?> getProductCollection() && $block->getProductCollection()->getSize())): ?> escapeHtml(__('Add to Cart')) ?> + getBlockHtml('formkey')): ?> + + isAvailable()): ?>
escapeHtml(__('In stock')) ?>
@@ -113,13 +128,4 @@ use Magento\Framework\App\Action\Action; getPagerHtml() ?> - getBlockHtml('formkey')): ?> - -