Your database should keep a catalogue of products seperate from the products being ordered and that way you will not affect the actual products, only the orders products.
Therefore when deleting an item, you are removing it from the order, and not the products.
|