Auto Add Product Reviews During Infinite Scroll [Canopy Theme]

Shopify Partner
1 0 0

Hi there!

We have the Shopify Product Reviews app installed and have infinite scroll enabled through the "Customize" section of our test store's theme. The challenge we're having is we can't seem to figure out how to get product reviews to populate after the first page load.

Essentially, reviews show up on the initial group of products when the page loads, but as you continue scrolling and more products are added everything after the first grouping of products is without reviews. Has anyone figured out how to get this to work or is it just not doable?

0 Likes
Highlighted
Tourist
10 0 1

Hello, i have the same problem. Did you find out any solution?

0 Likes
Highlighted
Tourist
10 0 1

i've solved it by putting this code in the end of my ajax:

var request = new XMLHttpRequest();
        request.open("GET", "");
        request.onload = function() {
                SPR.registerCallbacks();
                SPR.initRatingHandler();
                SPR.initDomEls();
                SPR.loadProducts();
                SPR.loadBadges();
        };
        request.send();
0 Likes