On any shopping cart, you get to update the qtys of the products you selected before paying for your goods.
When you click Update button it updates all the quantities for you.
What I can't get my head around, is how they grab the values from the text fields, how these update the quantities in the db, then when the page is posted to itself the new quantities show on the cart page.
Would someone be kind enough to explain the basic principles of this.
HOW I GOT AROUND THIS PROBLEM ON MY OWN TEST CART
Each qty box had its own update button. When you clicked the button It updated the product qty with the new qty you entered using the product id in the db. This works but is not flexible enough.
Thank you very much