We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad9c8e3 commit 6edaaf3Copy full SHA for 6edaaf3
app/code/Magento/Catalog/view/frontend/templates/product/list/items.phtml
@@ -110,7 +110,7 @@ switch ($type = $block->getType()) {
110
111
case 'crosssell':
112
/** @var \Magento\Catalog\Block\Product\ProductList\Crosssell $block */
113
- if ($exist = $block->getItemCount()) {
+ if ($exist = count($block->getItems())) {
114
$type = 'crosssell';
115
$class = $type;
116
0 commit comments