Product repeat (same page URL)
-
Hello Support,
I’m having an issue with your plugin, specifically with the Infinity Scroll option.
I’ve noticed that products are being repeated when I scroll down the page (homepage). I checked DevTools in Chrome, and when I filtered XHR requests in the Network tab, I saw the same response being returned for each new load (
?product-page=2).When I disable the plugin, the pagination button links are correct (
?product-page=2,?product-page=3,?product-page=4,?product-page=5…), however, as soon as I enable the plugin and set the Infinity Scroll option (or any other), this issue appears.To summarize:
- Plugin disabled → links in the
<a>elements within pagination are correct - Plugin enabled → all links in the
<a>elements within pagination are set tohttps://example.com/?product-page=2
I thought the issue might be caused by having multiple product display elements on the homepage, but I’ve assigned a custom class to the specific element I want Infinity Scroll to apply to. My selectors are as follows:
- Products Container Selector →
.custom-product-grid-a ul.products - Product Item Selector →
.custom-product-grid-a li.product - Pagination Selector →
.custom-product-grid-a nav.woocommerce-pagination - Next Page Selector →
.custom-product-grid-a a.next.page-numbers
Do you have any idea what could be causing this issue?
Best regards,
AleksaThe page I need help with: [log in to see the link]
- Plugin disabled → links in the
The topic ‘Product repeat (same page URL)’ is closed to new replies.