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
Username:
Password:
Save Password
Forgot your Password?

 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