filter module page 2 error

Phoca Cart - complex e-commerce extension
JustinForga
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 28 Jun 2017, 00:33

filter module page 2 error

Post by JustinForga »

I have a problem with the filter module and I can't find how to resolve this. When we click one filter option it works fine, but going to page 2 within that search it returns to the homepage and shows all items again. Anyone any idea what causes this issue?

Thanks in advance for any help.
JustinForga
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 28 Jun 2017, 00:33

Re: filter module page 2 error

Post by JustinForga »

In addition to the above. I made an error. It is not going back to the homepage, but a link: domain.com/index.php?start=12
Maybe that helps.

Edit
I see now that when I hover my mouse over the page 2 icon it gives me the url domain.com/index.php?start=12
so there is something wrong with my filter module. But can this be a configuration error or is this a bug?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: filter module page 2 error

Post by Jan »

Hi, when you filter, then the url should contain the filter data:
This link I get when I filter two manufacturers of the cars:
http://www.phoca.cz/phocacartdemo/items ... volkswagen

when I switch to pagination, e.g. 5 items on the page and go to second page:
http://www.phoca.cz/phocacartdemo/items ... en&start=5
I still get the manufacturer filter listed in the URL

But of course when I then click to go e.g. to detail page of the product:
http://www.phoca.cz/phocacartdemo/1-sko ... da-octavia

the filtering is then removed. So when I go up, I go to the category, not to the filtered outcomes.

So if the filter variables are missing in url (when e.g. clicking on pagination), first try to disable SEF to see if it works without SEF (disable SEF in Global Configuration of Joomla!)

Jan
If you find Phoca extensions useful, please support the project
JustinForga
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 28 Jun 2017, 00:33

Re: filter module page 2 error

Post by JustinForga »

Hi Jan,

Thanks for the reply. I've disabled SEF but unfortunately that didn't change anything.
Any other suggestions?

Regards,
Justin

EDIT:
Oke this is seriously weird. I have been searching for a while now and I just posted the reply and I thought maybe the pagination has something to do with it. So I deleted the 5,10,15,20,50 after the Pagination (Category, Items View). And now it works again. The numbers are back again and it works but only if I keep SEF turned off and the display select box off. So something is not quite right and I would like to turn the SEF back on, so any other suggestions?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: filter module page 2 error

Post by Jan »

So what is the situation now, does it work without SEF?

What about cache settings? Do you use cache on your site?

Jan
If you find Phoca extensions useful, please support the project
Post Reply