Lazy Scroll

{% for product in collection.products %}

1
2
3
4
5
6
7
8
9
10
<div id="Huratips-Loop" >
      {% for product in collection.products %}
        {% include 'product-grid-item' %}
      {% endfor %}
</div>
<div id="Huratips-Pagination">
    {% if paginate.next %}
    <a href="{{ paginate.next.url }}">Loading More</a>
    {% endif %}  
</div>
4
5
6
7
8
<script>
  document.addEventListener("DOMContentLoaded", function() {
    var endlessScroll = new Ajaxinate({
      container: '#Huratips-Loop',
      pagination: '#Huratips-Pagination'
    });
  });
</script>
0 products

Sorry, there are no products in this collection