diff --git a/vendor/magento/module-catalog/view/frontend/templates/product/compare/list.phtml b/vendor/magento/module-catalog/view/frontend/templates/product/compare/list.phtml index 0bea3ca03de..07cca77178a 100644 --- a/vendor/magento/module-catalog/view/frontend/templates/product/compare/list.phtml +++ b/vendor/magento/module-catalog/view/frontend/templates/product/compare/list.phtml @@ -73,7 +73,7 @@ action="escapeUrl($this->helper(Magento\Catalog\Helper\Product\Compare::class)->getAddToCartUrl($item)) ?>" method="post"> getBlockHtml('formkey') ?> - @@ -144,15 +144,13 @@ - isRedirectToCartEnabled()) :?> - - + } +
escapeHtml(__('You have no items to compare.')) ?>
diff --git a/vendor/magento/module-catalog/view/frontend/templates/product/list.phtml b/vendor/magento/module-catalog/view/frontend/templates/product/list.phtml index 6a47978f1e5..a831bd7be6f 100644 --- a/vendor/magento/module-catalog/view/frontend/templates/product/list.phtml +++ b/vendor/magento/module-catalog/view/frontend/templates/product/list.phtml @@ -154,15 +154,13 @@ $_helper = $block->getData('outputHelper'); getToolbarHtml() ?> - isRedirectToCartEnabled()): ?> - - + } +