Skip to content

Commit d870d06

Browse files
ENGCOM-1622: 15319 : misleading data-container in product list #15350
2 parents 5f45b12 + a9758f4 commit d870d06

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
<?= /* @escapeNotVerified */ ($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)