My client wants only one product of a particular type in the cart/quote. And it should be the most recent product added to the cart.
For example, user finds product. Adds to cart. User finds another product and adds to cart. I need to remove the first item and add the second.
I found this article which shows how to monitor items in the cart. I have it working, but I'm lost on the next step.