Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Problems and bugs
 Strange shipping bug?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

wanless
Starting Member

1 Posts

Posted - September 10 2004 :  08:09:53  Show Profile  Reply with Quote
I noticed a strange problem with out shipping calculations. We use the by weight range calculation and we have some products that have weights assigned to them and other products that have there weights assigned to there features. I noticed that if a customer orderd a product which had its weight assigned to the feature followed by a product that had is weight assigned to the product it miss calculated the shipping. Is this a known problem?

i have a fix below which seems to work fine so far :)

In the shopproductsubs.asp page change the following lines:

If Getconfig("xfeatureweight")="Yes" and prodfeatures<>"" then
GetTotalfeatureweight conn, prodid, prodfeatures, featureweight
end if
featureweight=featureweight*prodquantity
totalfeatureweight=totalfeatureweight+featureweight

To

If Getconfig("xfeatureweight")="Yes" and prodfeatures<>"" then
GetTotalfeatureweight conn, prodid, prodfeatures, featureweight
featureweight=featureweight*prodquantity
totalfeatureweight=totalfeatureweight+featureweight
end if



  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00