Function to view product list implemented.