diff --git a/app/code/Magento/Catalog/view/frontend/templates/product/list.phtml b/app/code/Magento/Catalog/view/frontend/templates/product/list.phtml index e0bb6b62f0bf6..c805941fa0272 100644 --- a/app/code/Magento/Catalog/view/frontend/templates/product/list.phtml +++ b/app/code/Magento/Catalog/view/frontend/templates/product/list.phtml @@ -20,15 +20,15 @@ $_productCollection = $block->getLoadedProductCollection(); /** @var \Magento\Catalog\Helper\Output $_helper */ $_helper = $block->getData('outputHelper'); ?> -count()):?> +count()): ?>
- + = $block->getToolbarHtml() ?> = $block->getAdditionalHtml() ?> getMode() == 'grid') { + if ($block->getMode() === 'grid') { $viewMode = 'grid'; $imageDisplayArea = 'category_page_grid'; $showDescription = false; @@ -47,7 +47,7 @@ $_helper = $block->getData('outputHelper');