I have a strange requirement. i want to display list of 5 products based on recently viewed products.
these 5 products should come from same category as the last viewed product.
5 is the maximum limit. a category can list less than 5 products too.
for eg. if a user has viewed a product from women's->shirt category on geometrixx, and goes to home page, he should be able to view 5 related products from women's-> shirt category.
I am not getting any idea how to create this component.
Solved! Go to Solution.