joachim Posted January 5, 2009 Share Posted January 5, 2009 Hi,Shop configured with shipping costs based on weight;Carrier 1 - weight range : 5 kg -> 200 kg.Carrier 2 - weight range : 1000 kg -> 5000 kg.When I check the shipping costs for a product with weight 100 kg's I am presented both carriers although 100 kg is not in the weight range of carrier 2 (1000kg -> 5000 kg) ?Is this normal behaviour ? Thanks,Joachim Link to comment Share on other sites More sharing options...
Guest Posted January 5, 2009 Share Posted January 5, 2009 Which version of PS do you use? Link to comment Share on other sites More sharing options...
joachim Posted January 5, 2009 Author Share Posted January 5, 2009 1.1 final Link to comment Share on other sites More sharing options...
Dave Egerton Posted January 5, 2009 Share Posted January 5, 2009 I have a feeling that in backoffice>>shipping, you may not have all options set joachim.In the fees by carrier, have you set-up your costs for this carrier. This will show you the ranges set-up and the zones you have created and controls the costs for that carrier, for each weight range and each zone. For example if the cost in UK for 1kg is £1.00, to USA it might be £2.00.just a thought really Link to comment Share on other sites More sharing options...
joachim Posted January 5, 2009 Author Share Posted January 5, 2009 Hmm, very strange but it seems that as soon as i´m hitting the 1000kg mark the shipping module goes haywire... Link to comment Share on other sites More sharing options...
joachim Posted January 5, 2009 Author Share Posted January 5, 2009 I've done some outputting and this comes up...900 kg => 900.00 kg (works fine)1200 kg => 1,200.00 kg (is seen a 1,2 kg afaik ) Link to comment Share on other sites More sharing options...
joachim Posted January 5, 2009 Author Share Posted January 5, 2009 yep confirmed...900 kg ;SELECT d.`price` FROM `ps_delivery` d LEFT JOIN `ps_range_weight` w ON d.`id_range_weight` = w.`id_range_weight`WHERE d.`id_zone` = 7 AND 900 < w.`delimiter2`AND d.`id_carrier` = 121200 kg; SELECT d.`price` FROM `ps_delivery` d LEFT JOIN `ps_range_weight` w ON d.`id_range_weight` = w.`id_range_weight`WHERE d.`id_zone` = 7 AND 1 < w.`delimiter2` AND d.`id_carrier` = 12 Link to comment Share on other sites More sharing options...
joachim Posted January 5, 2009 Author Share Posted January 5, 2009 Back to the original problem, does anyone have the shipping calculation (based on weight) working as ...Carrier 1 : 100->500 kg.Carrier 2 : 600 -> 900kg.Add a product to your basket with a weight of 110 kg... only carrier 1 will be shown??Based on the sql statements I checked in Carrier.php I believe this is not the case since there is no check on delimiter1 only delimiter2 is being verified.Thank you very much! Link to comment Share on other sites More sharing options...
joachim Posted January 5, 2009 Author Share Posted January 5, 2009 Figured it out... I have a different requirement, I think the original design was to show all carriers with different shipment times that's probably why all carriers are show... athough the carrier setup mentions 'disable carrier when out of range' I think this only applies to higher out of range not lower out of ranges..... anyway i'm calling it a day ! Link to comment Share on other sites More sharing options...
jean92 Posted January 8, 2009 Share Posted January 8, 2009 Hellothank's for the very good script of prstashop, good job, and happy new year for 2009.We have this problem and what is the issu for resolve it ?over 1000 kg for ex: 1200.00 kg ar 12.00 euros in the basket the price appear at defined price delimiter 0 to 15 kgs whereis file or mysql parameter we can cha,ge for issue ? thank'ssorry for my bad englishprestashop 1.1 final Link to comment Share on other sites More sharing options...
joachim Posted January 8, 2009 Author Share Posted January 8, 2009 If you mean the problem with weight over 1000kg you should check bug tracker (search for weight)... if you want to adjust the way shipping works I suggest to start looking at Carrier.php... Link to comment Share on other sites More sharing options...
nibari Posted June 11, 2009 Share Posted June 11, 2009 See my bug tracker comment here (scroll down):http://www.prestashop.com/bug_tracker/view/1211/ 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