6 Jul 2009, 9:16 PM
Zen Follower
- Join Date:
- Apr 2008
- Location:
- South Florida
- Posts:
- 195
- Plugin Contributions:
- 0
Need to empty cart before adding product.
I am working on a cart that will only have 1 item and I do not want the cart to be cumulative or allow the customer to go back and add another item to the cart. I need the carts contents to be "flushed" each time an add to cart is done. I want it to forget whatever was in the cart and only use the new add to cart.
Has anyone done anything similar?
I am writing a reservation system and the qty will be dictated by date code I am writing. The cart will be "fed" the qty from my code. I am worried that if they back up to make a change the cart will add the changed qty.
Hope I am making sense.
Thanks
Steve