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
 v7 featuredflag type mismatch
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

9 Posts

Posted - July 17 2010 :  12:32:02  Show Profile  Reply with Quote
I have been getting a type mismatch error when setting the featured flag=yes while adding or updating products.

The cure for me was to alter shopa_addproduct.asp
In sub ValidateData around line 423 for featuredflag and 448 for featuredflag2 I had to convert to integer e.g.

if cstr(strOldFeaturedFlag) <> cstr(strFeaturedFlag) then
    currentfeaturedproductitems = cint(currentfeaturedproductitems) + 1
end if


Palestinians deserve to be free. Just like you and me.
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000