Skip to content

Commit 7c28136

Browse files
author
Stanislav Idolov
authored
ENGCOM-2869: [Forwardport] Misleading data-container in product list #17751
2 parents d26996e + a92cb78 commit 7c28136

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
@@ -46,7 +46,7 @@ $_helper = $this->helper('Magento\Catalog\Helper\Output');
4646
<?php /** @var $_product \Magento\Catalog\Model\Product */ ?>
4747
<?php foreach ($_productCollection as $_product): ?>
4848
<li class="item product product-item">
49-
<div class="product-item-info" data-container="product-grid">
49+
<div class="product-item-info" data-container="product-<?= /* @escapeNotVerified */ $viewMode ?>">
5050
<?php
5151
$productImage = $block->getImage($_product, $imageDisplayArea);
5252
if ($pos != null) {

0 commit comments

Comments
 (0)