Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I am using the current preset version which is Dawn 5.0. And I want to show 100 items in the home page. I am using a custom section and here is the below code. but the code is only showing 50 items. Can you please help about this issue.
Thanks
<div class="container">
{%- paginate section.settings.collection.products by 100 -%}
<div class="grid test">
{% for product in section.settings.collection.products limit:100 %}
{% render 'tile', product: product %}
{% endfor %}
</div>
{%- if paginate.pages > 1 -%}
<div class="hidden_pagination"> {% render 'pagination', paginate: paginate, anchor: '' %}</div>
{%- endif -%}
{%- endpaginate -%}
<a class="more-link" href="{{section.settings.collection.url}}" style="display: none;">
More
</a>
</div>
{% schema %}
{
"name": "Home Products Grid",
"class": "home-products-grid",
"settings": [
{
"type": "collection",
"id": "collection",
"label": "Select Collection"
}
],
"presets": [
{
"name": "Home Products Grid"
}
]
}
{% endschema %}
{% stylesheet %}
{% endstylesheet %}
{% javascript %}
{% endjavascript %}
The maximum number of products per page Shopify allows to display is 50, so maybe you can try to add 2 sections so it can display 100 items.
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Amazon Products Importer - Import Amazon Products to Dropship in Your Store!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Can we not show 100 items in one section on the home page? Is there any solution to show 100 items on the home page like using a featured collection or any other?
@Dan-From-Ryviu
Can we show 100 items in one section on the home page? Is there any solution to show 100 items on the home page like using a featured collection or any other?
Yes we can. Actually, at a glance it seems your code should be working in doing just that. Can you share your store url and indicate which section runs this code you shared? Also make sure your {% render 'tile', product: product %} snippet is not filtering out products, and it goes without saying but your collection should then have at least 100 active products (not draft).
Hello @MaxDesign
Yes, I have a total of 76 items in my home page collection. Here is my store URL - https://man-tle.com/
and I used the below code. But I still see only 50 products on my home page.
<div class="container">
{%- paginate section.settings.collection.products by 100 -%}
<div class="grid test">
{% for product in section.settings.collection.products limit:100 %}
{% render 'tile', product: product %}
{% endfor %}
</div>
{%- if paginate.pages > 1 -%}
<div class="hidden_pagination"> {% render 'pagination', paginate: paginate, anchor: '' %}</div>
{%- endif -%}
{%- endpaginate -%}
<a class="more-link" href="{{section.settings.collection.url}}" style="display: none;">
More
</a>
</div>
{% schema %}
{
"name": "Home Products Grid",
"class": "home-products-grid",
"settings": [
{
"type": "collection",
"id": "collection",
"label": "Select Collection"
}
],
"presets": [
{
"name": "Home Products Grid"
}
]
}
{% endschema %}
{% stylesheet %}
{% endstylesheet %}
{% javascript %}
{% endjavascript %}
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025