If you no longer stock the product for purchase, Disable the product.
Then when a customer logs in next, the product will be removed from their shopping cart
and they won't be able to purchase it (at any price)