Filter module. Incorrect logic

Phoca Cart - complex e-commerce extension
User avatar
sulpher
Phoca Professional
Phoca Professional
Posts: 103
Joined: 28 Feb 2017, 09:45

Filter module. Incorrect logic

Post by sulpher »

I have the following structure:

Products (menu item to default shop page) /index.php/products/
- Men's clothing. URL: /index.php/products/mens-clothing
- Women's clothing. URL: /index.php/products/womens-clothing

And there is a filter module in sidebar. I proceed to men's clothing category and get URL is:
/index.php/products/mens-clothing

then I click on any color image in the filter:
Image

and get request in the URL turns into:
/index.php/products/items

If I deselect the color, I am on the main PC's page with list of all products instead of men's clothing category.

And I also noticed that color images display randomly. E.g. each time I click on color image, the list of color images displays randomly.

PC 5 / J5.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48345
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Filter module. Incorrect logic

Post by Jan »

Hi, in Phoca Cart, there is a category view and items view, they can cooexist next to each other (all filter results are displayed in items view) but the category view can be ignored and replaced by items view only, e.g. used here:
https://www.phoca.cz/jtd/

This can be set in options.

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