Shopify collections products not paginating correctly - Every page displays same products

Hello All,

My products are not paginating correctly. For example, if you look at this page, https://onieandsky.com/collections/new-bracelets, and scroll down to the bottom, you will see that the same 24 products continuously load again and again. Instead, it should obviously be loading the next 24 products in that collection.

I have made sure that my products do not exceed the default maximum of 50 products per page. I am only displaying 4 columns and 6 rows of products per page.

My currently active theme is Venedor-1.2.8.2 which I believe is a custom theme. However, I am not fluent in Liquid or Shopify’s backend so I have not made any custom changes to it.

This is a relatively urgent matter due to the fact that my e-commerce clients can only interact with the first 24 products within each collection.

All help is appreciated, thank you.

After learning Liquid and reviewing Shopify’s pagination documentation, I found that my issue was with the for loop that displayed the products. The loop offset was not being updated properly therefore the loop would continue to output the same products.

To fix the issue I modified the template-collection.liquid file to use the “paginate” object. Before it was trying to handle pagination using custom variables for reasons unknown to me. Then I used the paginate.current_offset property to properly output the products.

1 Like

Hello, I’m having the exact same issue with Venedor theme. Can you explain a little more how to resolve it. I’m in my collection liquid theme, but not sure how to update the paginate object.