Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="products-grid wishlist">
- <?php $iterator = 1; ?>
- <?php if (count($block->getItems())): ?>
- <ol class="product-items">
- <?php foreach ($block->getItems() as $item): ?>
- <?php /* @escapeNotVerified */ echo($iterator++ == 1) ? '<li data-row="product-item" class="product-item" id="item_' . $item->getId() . '">' : '</li><li class="product-item" id="item_' . $item->getId() . '">' ?>
- <div class="product-item-info">
- <?php foreach ($columns as $column): ?>
- <?php $column->setItem($item); echo $column->toHtml($item);?>
- <?php endforeach; ?>
- </div>
- <div style="clear: both"></div>
- <?php echo($iterator == count($block->getItems())+1) ? '</li>' : '' ?>
- <?php endforeach; ?>
- </ol>
- <?php else: ?>
- <div class="message info empty">
- <span><?php /* @escapeNotVerified */ echo __('This Wish List has no Items');?></span>
- </div>
- <?php endif; ?>
- </div>
- <?php foreach ($columns as $column): ?>
- <?php echo $column->getAdditionalHtml();?>
- <?php endforeach; ?>
Add Comment
Please, Sign In to add comment