smilem Posted May 9, 2010 Share Posted May 9, 2010 Hi, I have 2 carriers based on weight.1st is free shipping that has a range of 0.00kg - 2kg (price set is 0.00)2nd is carrier 1 that has a range of 2kg - 10kg (price set is 2.00)Now I have two items in my shop 1st with weight of 1kg, second with weight of 2.2kgWhen I add to my cart the "free" item with weight of 1kg I have both carriers listed. Why is that?Shouldn't the second carrier be shown only after basket weigh is more than 2kg?When I add to my cart the item that has "2.22kg weight" I see only paid carrier like it should be.So it seems prestashop calculates wrong the minimum weight or something?I use prestashop v2.5.0, I have set the out-of range behavior for all carriers to disable Link to comment Share on other sites More sharing options...
smilem Posted May 9, 2010 Author Share Posted May 9, 2010 I replaced the order.php and Carrier.php with files from SVN and now it calculates fine, but my checkout process is halted at verify stage.The order never gets placed, I think it because I replaced the files, it worked before fine.What should I do now?Is it safe to replace all my prestashop files with newer SVN files? Link to comment Share on other sites More sharing options...
Burhan BVK Posted May 9, 2010 Share Posted May 9, 2010 You need to use one carrier and set two price ranges. And of course use the original files instead of the ones from SVN. Link to comment Share on other sites More sharing options...
smilem Posted May 9, 2010 Author Share Posted May 9, 2010 Thanks I'll try that, but what to do if I need to use 2 different carriers? Link to comment Share on other sites More sharing options...
amoon Posted February 3, 2011 Share Posted February 3, 2011 I have the same problem, but my 2 carriers are based on price.I have:- Carrier 1 from $1 to $100- Carrier 2 from $1 to $500When I test it and 'buy' $450, both carriers appear! What I expected is just Carrier 2 to be the only choice, as Carrier 1 can only handle up to $100... What is the logic behind Presta's Carrier's Price Range, please?Thank you! Link to comment Share on other sites More sharing options...
amoon Posted February 3, 2011 Share Posted February 3, 2011 OK. I found the answer: You have to create two Price Ranges for the same carrier. Than go to "Shipping" Tab and assign the prices for that carrier. Options for the two ranges will be given for the carrier. 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