Products stops loading after page 2 for visitors/logged-out users
-
The problem occurs in every product-category that has more than 3 pages of products. After page 2 products stops loading with the loader.gif keeps spinning.
This ONLY happens for visitors/logged-out users.
As soon as I log in to the site and visit the site as logged-in user, YITH infinite scrolling works perfectly fine.I use the theme Shoptimizer and followed their guide for configuring your plugin:
https://www.commercegurus.com/docs/shoptimizer-theme/infinite-scrolling/I have contacted the developer of Shoptimizer that gave me this reply:
“This is a redirect issue. The screenshot below there are too many 301 redirect.
“This one shows 301 redirects because of the string URL at the end “?_=1727256257822”
“/produkt-kategori/rakning/page/3/?_=1727256257822”After that I contacted our webhost with the information from Shoptimizer and our webhost replied with:
“After checking the site and confirming that it works logged in but not logged out, looks like there is an interesting behavior from the infinite scrolling. When the page 2 is loaded, it does not redirects, it just returns a 200 status. However, for page 3, 4 and the next ones, the request is always a 301”
There where a lot of screenshots provided which I can’t upload here, but you can see all of this by inspecting the site in Chrome DevTools Console:
“Failed to load resource: net::ERR_TOO_MANY_REDIRECTS
rakning/page/3/?_=1727191051465:1″The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.