Brooklyn theme: Limit collection's products display

Ziado4
Excursionist
18 0 3

Hello,

I am using the brooklyn theme and on the home page, I want to show some of my featured products. However, I want to spread them out to multiple pages (ideally 9 per page). Nonethless, they are all showing on one page. I tried to change {%- paginate collection.products by 12 -%} to {%- paginate collection.products by 9 -%} in the collection-template.liquid, but it seemed to have no effect on it.

So anyone can help me with getting to my goal please?

I will appreciate it greatly!

Thanks a ton!

0 Likes
Pallavi
Shopify Expert
2366 396 512

Hello There,

Read this all articles and implement

https://shopify.dev/tutorials/customize-theme-show-more-products-on-collection-pages
https://community.shopify.com/c/Shopify-Design/Limit-of-products-in-frontpage-collection-gt-Brooklyn...

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
0 Likes
Ziado4
Excursionist
18 0 3

I have read both, unfortunately it does not answer my question.

To reiterate my issue, I have let's say 15 products in this collection; I want to spread them across many pages (like 9 on one page, and the rest on the other).

Thanks again!

0 Likes
ShanifAtApteo
Shopify Partner
35 3 6

 Hi @Pallavi, glad to help you with your question. I’m sure, my given answer will help to solve your problem as adding the given code below in the section 

 

Probably your collections section is different, firstly you need to check your collection template code to verify the section name that is being used

Like this

{% section 'collection-template' %}

{% section 'collection-similar' %}

And place the code in the relevant section file,

{% paginate collection.products by 9 %}

Hopefully, that solves your problem. If not, please let me know if you're seeing any other issues.

Shanif Dhanani, CEO and data scientist at Apteo
- Was I able to help? Click Like to let me know!
- If I was able to answer your question, click Accept as Solution
- Want to increase your customer lifetime value with A.I.? Check out Apteo
0 Likes