<div class="row">
{% for product in collections.all.products %}
{% if product.tags contains 'frontpagedeal' %}
{% if product.price_min < product.compare_at_price_min %}
{% include 'today-sale' %}
{% endif %}
{% endif %}
{% endfor %}
</div>
私は以下のコードを試してみましたが、これも動作しません。shopifyの特定のタグでページに1つの商品のみを表示
<div class="row">
{% for product in collections.Daily_Deals.products %}
{% if product.tags contains 'frontpagedeal' %}
{% include 'dailydeal-countdown' %}
{% endif %}
{% endfor %}
</div>
どのように特定のタグを持つ1つの製品を表示できますか?
{%endfor%}、商品は表示されません – user3436031