Hi,
I'm hoping somewhere here might be able to point me in the right direction for a general OScommerce question. I apologize if this is bad form to ask a non-contribution related question in this thread, but people here seem to be much more responsive.
My shop sells one-of-a-kind items, so I want to prevent customers from adding multiple quantities of the same item into their shopping cart. I realize that the oscommerce admin tool will allow me to not let a checkout complete if I don't have the specified quantity on hand, but I don't want the customer to have to deal with the "sorry, this item is sold out" routine of having to modify the quantity levels in their cart. My philosophy being that the customer's experience should be as user-friendly as possible, and that the store owner should attempt to account for as many scenarios as possible.
So basically, the code I need help writing is:
If the customer has a particular item in their shopping cart, and they click on the same item again, the item description page should <I>not</I> have the "add to cart" button displayed, and possibly a message saying "Sorry, but you already have this item in your cart".
thanks for your help.
pulp