Display popular products from category, passing context
Posted: Tue May 12, 2009 8:02 am
My home page will display a grid of categories that contain popular products. For example, if the toy train product in the Toys for Boys category is a best seller, the home page will display that as one of the categories in the grid. When the user clicks on that home page category, it should display all popular products from the Toys for Boys category.
The wrinkle is that the user might have gotten to the Toys for Boys category from the main category list which includes all of it's products, not just the best sellers. Thus I have two different paths to the Toys for Boys products:
1. Normal - showing all products:
Home (main category list) > Toys For for Boys > All products in category
2. Best Sellers - showing popular products:
Home (Best Sellers) > Toys For for Boys (Best Sellers) > Best selling products in category
In both cases, I would be using the Category Details page to show Toys for Boys products. The only difference is which link (Normal vs Best Sellers) I started from on the home page.
What is the correct way to track my starting point and remember it for when I display the Category Details page? Thanks in advance.
The wrinkle is that the user might have gotten to the Toys for Boys category from the main category list which includes all of it's products, not just the best sellers. Thus I have two different paths to the Toys for Boys products:
1. Normal - showing all products:
Home (main category list) > Toys For for Boys > All products in category
2. Best Sellers - showing popular products:
Home (Best Sellers) > Toys For for Boys (Best Sellers) > Best selling products in category
In both cases, I would be using the Category Details page to show Toys for Boys products. The only difference is which link (Normal vs Best Sellers) I started from on the home page.
What is the correct way to track my starting point and remember it for when I display the Category Details page? Thanks in advance.