Skip to content

Commit 27a211e

Browse files
author
Stanislav Idolov
authored
ENGCOM-1842: [BackPort]15319 : misleading data-container in product list #15816
2 parents d0c0fea + 67781d9 commit 27a211e

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/view/frontend/templates/product

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/view/frontend/templates/product/list.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ $_helper = $this->helper('Magento\Catalog\Helper\Output');
4747
<?php /** @var $_product \Magento\Catalog\Model\Product */ ?>
4848
<?php foreach ($_productCollection as $_product): ?>
4949
<?php /* @escapeNotVerified */ echo($iterator++ == 1) ? '<li class="item product product-item">' : '</li><li class="item product product-item">' ?>
50-
<div class="product-item-info" data-container="product-grid">
50+
<div class="product-item-info" data-container="product-<?= /* @escapeNotVerified */ $viewMode ?>">
5151
<?php
5252
$productImage = $block->getImage($_product, $image);
5353
if ($pos != null) {

0 commit comments

Comments
 (0)