📅  最后修改于: 2022-03-11 15:00:10.644000             🧑  作者: Mango
//Shopify Liquid
{% for product in collections.frontpage.products %}
{{ forloop.index }}
{% else %}
// no products in your frontpage collection
{% endfor %}