New Arrivals

{% for product in collection.products %} {% include 'product-grid-item' %} {% if collection.title == 'New Arrivals' %} {% assign date_published = product.published_at | date:'%s' %} {% assign date_now = 'now' | date:'%s' %} {% assign date_difference = date_now | minus: date_published %} {% if date_difference > 2592000 %} {% break %} {% endif %} {% endif %} {% endfor %}