Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Problems and bugs
 Errors with Saving and Restoring Shopping Carts
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

FCS-Webmaster
VP-CART New User

Canada
120 Posts

Posted - January 07 2010 :  14:24:11  Show Profile  Visit FCS-Webmaster's Homepage  Reply with Quote
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?

support
Administrator

4679 Posts

Posted - January 10 2010 :  22:25:32  Show Profile  Visit support's Homepage  Reply with Quote
Hi there

If this is version 650 or version 700 please feel free to post a ticket to the helpdesk so our support team can assist.

Thanks
Cam

VPASP Support
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00