{{#each section.blocks as |block|}}
<div class="shop-categorical-grid grid-cols-{{settings.home_desktop}}-desktop grid-cols-{{settings.home_desktop}}-tablet">
{{#if block.type '==' 'product_list' }}
{{#for block.settings.product_categories.products limit=block.settings.home_desktop_product_number as |product|}}
<div class="shop-categorical-grids-card">
<div class="shop-categorical-grids-mian">
<div class="product-images">
<a href="{{product.url}}" class="hover_important_productitem">
<img src="{{product.featured_image}}" alt="{{product.title}}" class="product-image-1">
{{#if block.settings.show_secondary_image}}
<img src="{{#if product.images.[1]}}{{product.images.[1]}}{{else}}{{product.images.[2]}}{{/if}}" alt="{{product.title}}" >
{{/if}}
</a>
</div>
<div>
<button class="shop-categorical-grids-lookb">Quick view</button>
</div>
</div>
<div class="shop-categorical-grids-neiron">
<div class="shop-categorical-grids-title">{{product.title}}</div>
<div class="shop-categorical-grids-price">{{ money_with_currency product.price}}</div>
</div>
</div>
{{/for}}
<div class="view-all-count">
<div class="view-all-count-border">
<a href="{{section.settings.image_1_link}}">
<div>
View all
</div>
<div>
{{block.settings.product_categories.all_products_count}} products
</div>
</a>
</div>
</div>
{{/if}}
</div>
{{/each}}
用all_products_count来输出
{{block.settings.product_categories.all_products_count}} products