Infinite scroll not working with random items turned on

  • Posts: 1
  • Thank you received: 0
5 years 8 months ago #295382

-- url of the page with the problem -- : rebelpaintballgear.com/index.php/shop
-- HikaShop version -- : 3.5.0
-- Joomla version -- : 3.8.10
-- PHP version -- : 7.0
-- Browser(s) name and version -- : Google Chrome Version 67.0.3396.99

Infinite scroll stops working when random items is turned on.

With random items turned off infinite scroll works again.

Does anyone know why? We have a lot of products and need infinite scroll to work.

Please Log in or Create an account to join the conversation.

  • Posts: 81379
  • Thank you received: 13037
  • MODERATOR
5 years 8 months ago #295395

Hi,

That's normal. It's not particularily the infinite scroll that doesn't work with random items.
It's actually the pagination which is disabled completely.
So there is only one page of elements, and thus no pagination, and thus, no infinite scroll.
That's because the random items are done per request.
If we were activating the pagination, there would be an unlimited number of pages, and you would be products several times on different pages as each time a page of the listing would be displayed, it would select a random number of products amongst all the products of the listing.

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum