FCS-Webmaster
VP-CART New User
Canada
120 Posts |
Posted - January 07 2010 : 14:24:11
|
We are having a problem with saving and restoring shopping carts.
The problem is if a customer adds something to their shopping cart then tries to restore a saved shopping cart then they get a type mismatch error.
From what I can see from trying to debug the code is that the cart gets restored and then any items in the shopping cart try to get added into the quantity field. Because the quantity field is assigned as numeric then a string is forced into it the error occurs.
Here is my debugging output (the cart that is trying to be restored has 3 items in it, their is currently one item in the cart when they try to restore the items).
quantity = 12 quantity = 1 quantity = 1 quantity = Tahitian Orchid Gift Sets Includes body mist, body lotion and foaming bath with skin conditioners 124283 Christmas
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: "Tahitian Orchid Gift"]'
/shopping/shopproductsubs.asp, line 306
I can't see anywhere that quantity is being assigned the entry from the shopping cart? |
|