add product ids as the array keys to the cato array, then the values would be the cartItems themselves this way we can check for both presence (in the cart) and which product type was sent in to the array (i.e ebook or hardcover) --done w also ned to add the ebook type to the options when adding to cart ---done pls send only what you need to the view, and nothing else.-- pending