Guest User

Untitled

a guest
Feb 20th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. <div class="products-grid wishlist">
  2. <?php $iterator = 1; ?>
  3. <?php if (count($block->getItems())): ?>
  4. <ol class="product-items">
  5. <?php foreach ($block->getItems() as $item): ?>
  6. <?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() . '">' ?>
  7. <div class="product-item-info">
  8. <?php foreach ($columns as $column): ?>
  9. <?php $column->setItem($item); echo $column->toHtml($item);?>
  10. <?php endforeach; ?>
  11. </div>
  12. <div style="clear: both"></div>
  13. <?php echo($iterator == count($block->getItems())+1) ? '</li>' : '' ?>
  14. <?php endforeach; ?>
  15. </ol>
  16. <?php else: ?>
  17. <div class="message info empty">
  18. <span><?php /* @escapeNotVerified */ echo __('This Wish List has no Items');?></span>
  19. </div>
  20. <?php endif; ?>
  21. </div>
  22.  
  23. <?php foreach ($columns as $column): ?>
  24. <?php echo $column->getAdditionalHtml();?>
  25. <?php endforeach; ?>
Add Comment
Please, Sign In to add comment