title: Remove conditionally Woocommerce cart items based on a specific product
body: <p>A specific WooCommerce product can only be by itself in the cart.</p>
  
  <p>So how do I clear the cart while adding this specific product to the cart? and how can I remove this specific product from the cart when adding any other product?</p>
  
  <p>I've figured out how to empty the cart when adding a specific product but I don't know how to remove this specific product from the cart when adding any other product.</p>