Hello,
I am using XStore theme together with the Filter Everything plugin.
When I start from the main shop page /sale/, select a filter (for example Anzüge), the URL updates correctly to something like:
/sale/?ca=anzuege
However, when I scroll down and the infinite scroll loads page 2, the URL changes to:
/sale/page/2/
and the filter parameter (?ca=anzuege) is lost. This causes the products on page 2 (and further) to be unfiltered.
If I directly open the filtered URL /sale/?ca=anzuege and scroll, it works fine — the problem only happens when the filter is applied dynamically from the /sale/ page without parameters.
It seems the infinite scroll script replaces the browser URL with history.replaceState but does not preserve existing query parameters after filtering. Could you please fix this so that the query string is kept in all pagination URLs generated by the infinite scroll, even when the filter is applied dynamically?
Thank you!