Load More Button for Collection Page with Scroll to Top

Load More Button for Collection Page with Scroll to Top

Log in or Sign up to ensure access to purchased code across multiple devices.

How to see the code

1. Please log in/create an account first. This is to ensure that all purchases are connected to an account and can be viewed on different devices.

2. Purchase the code using the "purchase box" on the specific page of the desired code.

3. After the purchase, please refresh the page.

Compatibility: All Shopify themes

Add a load more button with scroll to top button. I create an infinite scroll, check the link for the code but if you prefer a load more button, then just follow the instructions below. 

Change the "Load more" when you render the code to what ever you want. 

Check DEMO store here 💻. Password: made4uo

 What you are buying:

  • Load products in collection using a button
  • Mobile friendly

What makes our code better:

  • We do not use external libraries, with that being said, our code will have no to minimal effect to your website's speed performance
  • We do not leave or add codes use to advertise for our website
  • Our code is mobile friendly

Any issues related to the code will be fix with no additional cost, excluding code customization requests. Simply contact us with "Chat with us." We are just a button away.

To start:

1. In your Admin page, go to Online store > Themes
2. Choose the theme you want to edit then click Action > Edit code. 
3. Open the Snippet folder, and click "create a new snippet", name it "load-more." Then paste the code below and click SAVE.


4. Next, we need to add this to our collection section. Open the collection template for your corresponding theme. It is usually under the Section folder. For Shopify 2.0 free themes, it is the "main-collection-product-grid.liquid."


5. Next, find the " {%- endpaginate -%}." Then above it, place the code below.

On some themes, you might need to find the code "{% render 'pagination' %}" and place the code after it. For updated Dawn version 8 and above, please look for the "{% render pagination..." code and place the code after the {% endif %}. See image below. Infinite scroll placement

Back to blog


Thank you so much!
Works perfectly


How to create multiple Load More buttons on a page?

kabir sam

Leave a comment