Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 8283526

Browse files
committed
Fix for #11796 Magento2.2.0 home page product grid issues
1 parent 5790c16 commit 8283526

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/CatalogWidget/view/frontend/templates/product/widget/content

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogWidget/view/frontend/templates/product/widget/content/grid.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<ol class="product-items <?= /* @noEscape */ $type ?>">
3636
<?php $iterator = 1; ?>
3737
<?php foreach ($items as $_item): ?>
38-
<?php if ($iterator++ != 1): ?></li><?php endif ?>
38+
<?php $iterator++; ?>
3939
<li class="product-item">
4040
<div class="product-item-info">
4141
<a href="<?= $block->escapeUrl($block->getProductUrl($_item)) ?>" class="product-item-photo">

0 commit comments

Comments
 (0)