Welcome, Guest ( Customer Panel | Login )




 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
0 Item(s)
$0.00