VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 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  

VP-ASP New User

90 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

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?


4262 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.


VPASP Support
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000