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
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Problems and bugs
 Get saved cart problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tri-line
Starting Member

Denmark
30 Posts

Posted - November 28 2006 :  21:44:58  Show Profile  Reply with Quote
Hello,

When I try to get a saved cart, I get the following error message:

Microsoft VBScript runtime Fehler "800a000d'
Type mismatch: 'price'

/shopproductsubs2.asp, line 118

Code from about line 118:
Function Currencypriceconvert(price)
'VP-ASP 6.09 - fix if there is no conversion value, then don't modify the price
if GetSess("Conversionvalue") = "" OR isnull(GetSess("Conversionvalue")) then
Currencypriceconvert = price
else
Currencypriceconvert=price*GetSess("Conversionvalue")
end if
End Function

Line 118 is marked red

At the same time I get the following error in the minicart:
/shopproductsubs.asp, line 588
Which says:
subtotal=quantity*price

After a few tests, I found out, that it only happens, when the product price has decimals, like 78,40.
Does anybody know what is wrong here? I did not change any code here.
I have set the cart to work with dualconversion, to show prices both with VAT and without.
Best regards,
Kjeld

Edited by - tri-line on November 28 2006 22:12:06
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000