Zen Cart Logo
Forums / Managing Customers and Orders / Need to empty cart before adding product.

Need to empty cart before adding product.

Locked

Views: 802

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
6 Jul 2009, 9:16 PM
#1
fotofx avatar

fotofx

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