adjust logic for products in category