How can I add more than 50 products to the featured collection block?

ferd
Shopify Partner
6 0 2

I need to be able to show all products in the featured collection block, however, I am unable to get any products past 50 to appear in the featured collection. I am comfortable writing custom .liquid and have tried increasing the :limit for products in the featured collection to 200, in the settings.schema,  I have also tried removing the limit all together or setting it to nil. None of this has worked and I am stuck with only 50 products in the collection. 

Please advise! 

Thanks you

Replies 9 (9)

HarveyFinn
Visitor
1 0 0

@ferd Firstly can the community have a look at your store

ferd
Shopify Partner
6 0 2

@HarveyFinn Sure, here is the preview environment, i have it set to show 200 products in the homepage featured collection grid, however, it only shows 50. 

https://store.mikeshinoda.com/?_ab=0&_fd=0&_sc=1&preview_theme_id=122139410534

ZestardTech
Shopify Expert
5369 963 1288

Hello there,

From your Shopify admin, go to Online Store > Themes.

Find the theme you want to edit, click the ... button to open the actions menu, and then click Edit code.

In the Sections directory, click collection-template.liquid.

In the code editor, find the following code:

{% paginate collection.products by 9 %} or {% paginate collection.products by limit %}

and changes value limit :- 200

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
ferd
Shopify Partner
6 0 2

Yes, I do not have collection-template.liquid in my theme sections as I am using the Dawn theme. However, I did increase the main-collection-product-grid.liquid to paginate 200 max products. It's working on collection pages, I see 200 products on those collection pages. However, I still only 50 items on the featured collection section. The liquid code for featured collections is different and does not include the paginate code. 

 

ferd
Shopify Partner
6 0 2

@ZestardTech Any idea how to solve this? 

SarahMMoore1
Excursionist
17 0 7

@ZestardTech @HarveyFinn Anyone know how to do this for the simple theme? We need 100 on one of the pages

ZestardTech
Shopify Expert
5369 963 1288

Hello @SarahMMoore1 

The Featured collection displays more than 12 products.

In your Shopify Admin, go to Online Store > Themes > Actions > Edit Code.
Find 'sections > featured-collection.liquid' and search for 'products_to_show'.

 

Remove this code:

 

 

{
"type": "range",
"id": "products_to_show",
"min": 2,
"max": 12,
"step": 1,
"default": 4,
"label": "t:sections.featured-collection.settings.products_to_show.label"
},

 

 

Screenshot: Link to Screenshot

and replace it with this code:

 

 

{
"type": "range",
"id": "products_to_show",
"min": 2,
"max": 200,
"step": 2,
"default": 4,
"label": "t:sections.featured-collection.settings.products_to_show.label"
},

 

 

Screenshot: Link to Screenshot

To adjust the limit, customize as follows:

In your Shopify Admin, go to Online Store > Themes > Customize > Home Page.

Screenshot: Link to Screenshot

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
ZestardTech
Shopify Expert
5369 963 1288

Hello @ferd 

The Featured collection displays more than 12 products.

In your Shopify Admin, go to Online Store > Themes > Actions > Edit Code.
Find 'sections > featured-collection.liquid' and search for 'products_to_show'.

 

Remove this code:

 

{
"type": "range",
"id": "products_to_show",
"min": 2,
"max": 12,
"step": 1,
"default": 4,
"label": "t:sections.featured-collection.settings.products_to_show.label"
},

 

Screenshot: Link to Screenshot

and replace it with this code:

 

{
"type": "range",
"id": "products_to_show",
"min": 2,
"max": 200,
"step": 2,
"default": 4,
"label": "t:sections.featured-collection.settings.products_to_show.label"
},

 

Screenshot: Link to Screenshot

To adjust the limit, customize as follows:

In your Shopify Admin, go to Online Store > Themes > Customize > Home Page.

Screenshot: Link to Screenshot

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
SarahMMoore1
Excursionist
17 0 7

Sorry I meant for a collection page not the featured page. There isn't anything in our code that says max or paginate - were on 1.0 using the simple theme