daitienshi Posted June 11, 2010 Share Posted June 11, 2010 I've set up a range of weights for my shipping costs and have set the weights for all of my products.Before upgrading to 1.3.1, my shipping costs were working fine.However, post-upgrade, for certain (total) weights, it seems it's pulling in the max shipping cost rather than the proper value. And yet for some weights, it works without fail.I ran the query found in the Carrier.php file for the totalWeight calculation with the actual values in the db and it's comes back correctly. However the actual shipping cost in the cart is all screwed up!Help? I've submitted this as a bug already.TIA. Link to comment Share on other sites More sharing options...
Heng Posted June 15, 2010 Share Posted June 15, 2010 Hi Admin,My site facing the same problem. Would be appreciating if you could advise us how to solve this issue.RegardsCheah Link to comment Share on other sites More sharing options...
daitienshi Posted June 15, 2010 Author Share Posted June 15, 2010 The way it was solved for me was to ensure that there is no gap in between the ranges.The key here is that there is a precision of 6 decimal places if you need it.So the way I set it up was like the following:0.00kg (inclusive) to 0.25kg (exclusive)0.25kg (inclusive) to 0.50kg (exclusive)0.50kg (inclusive) to 0.75kg (exclusive)you can't do something like0.00kg to 0.25kg0.26kg to 0.50kg0.51kg to 0.75kgotherwise it's possible that the calculated total weight falls in between (e.g. between 0.25 and 0.26). If it does, it will use your maximum shipping fee. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now