fetching and displaying relevant products when a category is selected