I'm nearly finish with a site template for a shopping cart.
I am encountering a problem, updating of quantity. Say:
On the Product Table page: If the user clicks on the same product to add it, only the quantity should increment on the Cart page (Quantity is displayed using a textbox).
On the Cart page: The user can increase or decrease the quantity by manually typing the number on the textbox I mentioned above, by clicking on the update button below the cart table.
That is where my problem is, even If I enter another number (say 2), the price of the product should be multiplied to that number (say 800 x 2), instead, the original quantity (1) remains and so is the price (800 instead of 1600).
Where Am I getting the error.
Attached are the files for selecting product, adding to cart up to placing the order.
Thanks in advance.