Creating method for verifying the products from the cart