Filtering results page in the menu

Phoca Cart - complex e-commerce extension
Konctantin
Phoca Member
Phoca Member
Posts: 18
Joined: 13 Dec 2020, 15:14

Filtering results page in the menu

Post by Konctantin »

Hello Jan! It would be nice to be able to bind the filter results display page to a specific menu item. Also how can you do it for viewing a wishlist or comparing products. Now I have not found such an opportunity.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47883
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Filtering results page in the menu

Post by Jan »

Hi, the filter outputs are just displayed in Items view and it depends on menu structure what the link will be. If there is menu link to default view (categories view) then it gets the defailt view menu link, if there is even the link to items view, then it get the items view menu link.

What do you exactly mean with: "Also how can you do it for viewing a wishlist or comparing products."?
If you find Phoca extensions useful, please support the project
Konctantin
Phoca Member
Phoca Member
Posts: 18
Joined: 13 Dec 2020, 15:14

Re: Filtering results page in the menu

Post by Konctantin »

The link for the filtering results page looks like this: /items?....
As a result, the page gets the heading h1 from the main page (or another page, depending on the menu structure), as well as all modules that are assigned to the top-level page.

It would be nice to link the filter results page to a specific menu item so that you can customize this page as desired.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47883
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Filtering results page in the menu

Post by Jan »

Hi, you can set Items view as menu link, see here:
https://www.phoca.cz/jtd/

When filtering, the main menu link is used, e.g.:
https://www.phoca.cz/jtd/?c=5-art-photo ... er=1-phoca

so there is no "items" as it is a part of main menu link.

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