rickd Posted March 26, 2013 Share Posted March 26, 2013 (edited) I am using Prestashop 1.4.8.2. A problem has come to light where shipping wasn't being added to some carts but was to others. Having looked into this it seems the problem is to do with weight ranges. The shipping is calculated by weight, if I sell a product which is on the top edge of the weight range the shipping is shown as zero. e.g Weight range goes from 0kg - 0.25kg and 0.251kg - 0.5kg and 0.501kg - 2kg Product weighs:0.25kg Shipping does not register until quantity is 3 (0.75kg in between the weight range) Product weighs:0.3kg Shipping is applied on 1,2,3 etc. quantities Can anybody help please? Edited March 27, 2013 by rickd (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted March 26, 2013 Share Posted March 26, 2013 Your weight range has small gaps, because the upper limit of a weight range is EXCLUDED. (N.B. The lower limit of a range is INcluded) So if you want to have a weight range from 0-0.25 (including 0.25 in this weight range, add the values as follows: 0-0.251 Price A (0.251 is excluded, so it runs UP UNTIL 0.250) 0.251-0.501 Price B (your lower limit starts with the same number as your upper limit of the range above this one) 0.501 - 2.001 PRICE C (your lower limit starts with the same number as your upper limit of the range above this one) What happens in your case is that exactly 0.25 was not in your ranges, as it was Excluded because it was exactly an upper limit, your next lower limit started at 0.251, so 0.25(0) was not defined, and so set to a price of 0. Hope this helps, Pascal Link to comment Share on other sites More sharing options...
rickd Posted March 27, 2013 Author Share Posted March 27, 2013 Ok thanks. I understand but I have always assumed a range of integers say of 1- 5 includes 1,2,3,4 & 5. Link to comment Share on other sites More sharing options...
PascalVG Posted March 27, 2013 Share Posted March 27, 2013 Yep, There's probably a good reason they did it like this, but see many people have initial problems with this (Including me ;-) ). Hope it's solved now :-) (If so, please add solved to your header) 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