Filter module. Incorrect logic
Posted: 26 May 2024, 16:25
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:
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.
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:
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.