All things Shopify and commerce
Join us March 21 for an AMA on planning your 2023 marketing budget with 2H Media co-owners, Matt and Aron
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
@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
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
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.
User | RANK |
---|---|
30 | |
22 | |
20 | |
18 | |
18 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023