Search filter displays reults in repeat

  • Posts: 1184
  • Thank you received: 13
  • Hikashop Business
2 days 13 hours ago #373013

-- HikaShop version -- : 6.5.2
-- Joomla version -- : 6.1.2

Hi!

Search filter displays reults in repeat.
For example if you search the product code 4886 there should be 3 products in the search results page, instead it shows these 3 products multiple times (see screenshot).

Thank you

Attachments:

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

  • Posts: 86027
  • Thank you received: 14172
  • MODERATOR
2 days 8 hours ago #373016

Hi,

Thanks for the report, we could reproduce it and it is a bug on our side.

It comes from the "Infinite scroll" option of the listing on a site using search engine friendly URLs. Joomla renames the pagination parameter of the addresses it generates, from limitstart to start, and HikaShop was still reading the original name. So the page number of each block loaded while scrolling down was lost, the first page was sent back every time, and the script added it below the products already displayed. On the results of a search, where all the products fit on one page, that gives exactly what you see.

We fixed it: the page number is now read whatever the address format, and the block which loads the next page is only added when there are still products to load. Download the install package of HikaShop on our website and install it on yours in order to get the patches. It should then work properly on your website too.

The following user(s) said Thank You: verzevoul

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

Time to create page: 0.058 seconds
Powered by Kunena Forum