📜  Shopify Liquid for 循环 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:10.644000             🧑  作者: Mango

代码示例1
//Shopify Liquid
{% for product in collections.frontpage.products %}
  {{ forloop.index }}
{% else %}
  // no products in your frontpage collection
{% endfor %}