Skip to content
Snippets Groups Projects
Commit 6181457b authored by punit-vaswani's avatar punit-vaswani
Browse files

roll back changes by punit-nms user

parent c0d59a8e
No related merge requests found
...@@ -35,7 +35,8 @@ ...@@ -35,7 +35,8 @@
<ol class="product-items <?= /* @noEscape */ $type ?>"> <ol class="product-items <?= /* @noEscape */ $type ?>">
<?php $iterator = 1; ?> <?php $iterator = 1; ?>
<?php foreach ($items as $_item): ?> <?php foreach ($items as $_item): ?>
<?= /* @noEscape */ ($iterator++ == 1) ? '<li class="product-item">' : '</li><li class="product-item">' ?> <?php if ($iterator++ != 1): ?></li><?php endif ?>
<li class="product-item">
<div class="product-item-info"> <div class="product-item-info">
<a href="<?= $block->escapeUrl($block->getProductUrl($_item)) ?>" class="product-item-photo"> <a href="<?= $block->escapeUrl($block->getProductUrl($_item)) ?>" class="product-item-photo">
<?= $block->getImage($_item, $image)->toHtml() ?> <?= $block->getImage($_item, $image)->toHtml() ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment