Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Problems and bugs
 v7 featuredflag type mismatch
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mulga
Starting Member

Australia
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


HTH
Brian

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