Update Cart when Cart form is submitted
I've done this before ASP, but the same method doesn't seem to work right with PHP.
I need the Cart Display page to update any changes to quantity fields on change.
Currently i'm doing this by using a javascript submit onchange event to each quantity field and i've included a hidden field called "ECartName_Update_1".
This updates the quantity fields fine, however, if i try to delete a item in the cart using the checkbox, the selected item and the last item in the cart are deleted.
If i remove the "ECartName_Update_1" field, the delete function works again, but of course the update onchange event now fails.
What's the correct method?