Hi guys!
I have a problem with product archive pages, infinite scroll and product sorting.
If I open an archive page containing many products, scrolling (as it should be) shows all the products in succession without ever changing pages. I noticed, however, that if I click on a new “sorting method” at some point, only the products on the corresponding “page” (I figured it out from the url) are returned in the query.
How can I make the product sorting filters not refer to a specific page but to the entire category?
Let me explain with screenshots.
Screen 1 -> I open the archive, scroll and the url changes as I load a page, I arrive more or less at the height of page 3
Screen 2 -> I change the sorting method to “sort by price”.
Screen 3 -> It applied the method to me but only to products that match page 3
Screen 4 -> Demonstration that by loading the archive and immediately applying the filter there are products with the lowest price
Can you help me?