diff --git a/app/code/Magento/Catalog/view/frontend/templates/product/widget/new/content/new_grid.phtml b/app/code/Magento/Catalog/view/frontend/templates/product/widget/new/content/new_grid.phtml index 66683ef328e08..055ef05ef6f38 100644 --- a/app/code/Magento/Catalog/view/frontend/templates/product/widget/new/content/new_grid.phtml +++ b/app/code/Magento/Catalog/view/frontend/templates/product/widget/new/content/new_grid.phtml @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +use Magento\Framework\App\Action\Action; ?> getProductCollection() && $block->getProductCollection()-> } ?> - +
escapeHtml($title) ?> @@ -40,7 +41,7 @@ if ($exist = ($block->getProductCollection() && $block->getProductCollection()-> ' ?>
    - +
  1. getProductCollection() && $block->getProductCollection()-> getProductPriceHtml($_item, $type); ?> - + getReviewsSummaryHtml($_item, $templateType) ?> - + + diff --git a/app/code/Magento/Catalog/view/frontend/templates/product/widget/new/content/new_list.phtml b/app/code/Magento/Catalog/view/frontend/templates/product/widget/new/content/new_list.phtml index ceb32e78c7e44..333239827b527 100644 --- a/app/code/Magento/Catalog/view/frontend/templates/product/widget/new/content/new_list.phtml +++ b/app/code/Magento/Catalog/view/frontend/templates/product/widget/new/content/new_list.phtml @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +use Magento\Framework\App\Action\Action; ?> getProductCollection() && $block->getProductCollection()-> } ?> - +
    escapeHtml($title) ?> @@ -42,7 +43,7 @@ if ($exist = ($block->getProductCollection() && $block->getProductCollection()-> ' ?>
      - +
    1. getProductCollection() && $block->getProductCollection()-> getProductPriceHtml($_item, $type) ?> - + getReviewsSummaryHtml($_item, $templateType) ?> - +
      - + +