I updated your indexx2.php page and got it working the way you want. I updated your products recordset you use for add to cart to improve efficiency, and updated both other recordsets to get them working the way you described.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.