Product Results page linking from category page
I have a categories page that is supposed to show only the products from that category on the results page. I have it linked to the products_results.php page that DataAssist Search wizard made. It works fine from the Search page.
I am trying to use the results page to show only the results from a categories.php page. It goes to the page, but doesn't show the correct product.
Here is the link in my "categories.php" page:
<a href="products_results.php?<?php echo $row_rsProducts['prodID']; ?>=<?php echo $row_rsProducts['prodID']; ?>"><?php echo $row_rsProducts['prodCategories']; ?></a>
I have 5 test categories: 1, 2, 3, 4 and 5.
Each has 1 test product: test product 1, test product 2, etc...
If I click on Category 4, it should show: test product 4. They all show: test product 1 in the products_results.php page.
Thanks...