Added for to getProductByCategory()