Error with "Wrong number of arguments or invalid property assignment: 'getfpricepercent' " when adding item to cart

Error with "Wrong number of arguments or invalid property assignment: 'getfpricepercent' " when adding item to cart

If you are using VPASP 7.00 and having this error below when adding items to cart :

Microsoft VBScript runtime error '800a01c2'
Wrong number of arguments or invalid property assignment: 'getfpricepercent'
/shopaddtocart.asp, line 550


Then you will need to update your file shopaddtocart.asp as below :

1. Open the file using notepad or text editor.

2. Locate this code :

ProductPrice = ProductPrice + getfpricepercent(arrCart(cProductFeatures,i),ProductPrice)

3. Please replace to :

ProductPrice = ProductPrice + getfpricepercent(arrCart(cProductFeatures,i),ProductPrice,ArrCart(cfeatureuserprice, i))

4. Save the file and test.


Times Viewed:
5475
Added By:
Wilson Keneshiro
Date Created:
4/11/2013
Last Updated:
4/11/2013