Thanks a lot Ray. I appreciate your help. That fixed part of the issue. It now adds it to the cart. The problem now is that it seems it is treating it as one recordset. The code shows 2 different recordsets, but if I click either add to cart button it adds to value of the other items in the cart.
I changed the code to 0 so it adds to the value if it is in the cart.
Thanks for your help