Hi,
Im having trouble with limiting the quantity that a customer can add to the shopping cart. I have a drop down box that will limit the number that they can add with each click of the add to cart button.
However I need to make the quantity in the drop down box subtract the amount that was added to a cart to reflect the new on hand amount. If I have 10 monkey's and someone buy's 2 I want the drop down to reflect that. How can I do this??? I need help in a bad way.
This is what I have..... Thanks
Do you mean that the visitor buys 2 of the 10 and you wish to prevent the same visitor in the same transaction from next buying 10 of the 8 remaining? (requires JavaScript)
...or...
Do you mean one visitor buys 2 of the 10 and you wish to prevent any visitor in a new transaction from buying 10 of the 8 remaining? (server-side code will work)
Yes I meen if one person buys 2 of 10 items I need to stop someone else from buying 10 of the remaining 8 I have on hand. you say server side code will work. Could you explain it a little further. Im kinda new at this. willing to pay for any help.
Well, the first question is... Do you have a database where you can keep track of your inventory levels? Such a database will probably be either Access or MySQL. The second question is... What server-side languages does your site hosting provider have available for your use? Such languages will probably be either ASP or PHP, respectively (to the database type). Once you figure these things out (by asking your site hosting provider), then you will be in a position to contract some help to develop the code.
Bookmarks