lyros Posted September 23, 2014 Share Posted September 23, 2014 Hello, I believe this is a feature that many might be looking for. I would like to know how to show to each customer how much does he have to add to his cart in order to get free shipping, depending on his zone. I have been looking for this for a while and didn't find a solution. I could only find how to get that amount which is set at Shipping > Preferences > "Free shipping starts at", which is not what I need. The correct way should be ( in my opinion ) to show the amount set at the Cart Rules, where I can choose a carrier. I have noticed that there is a function that already does this $cart_rules = $params['cart']->getCartRules(); in file modules>blockcart>blockcart.php, but this only gets the "Free shipping" rule if the cart total has reached this amount. Is it posible to get this amount , by giving the ID of the carrier, even if the cart total has not reached this amount? I hope that you understand what I mean... Thanks! Link to comment Share on other sites More sharing options...
Paulito Posted September 23, 2014 Share Posted September 23, 2014 Hello Have a look at the Great tutorial from Nemo1 http://nemops.com/prestashop-show-free-shipping/#.VCFBUzpwYuo Paul Link to comment Share on other sites More sharing options...
lyros Posted September 23, 2014 Author Share Posted September 23, 2014 Thanks Paul, I have already read this tutorial, but it is about the Shipping>Preferences amount (or in 1.5 Shipping->Shipping), which, as I mentioned, is not what I need. I also believe that in cases you need different "Free shipping starts at" with different carriers this will not work correctly. For example: Free shipping to UK starts at 20$ Free shipping to Europe starts at 40$ Free shipping to USA and Asia starts at 80$ Free shipping to Australia starts at 120$ So then if the customer is logged in he will see the correct amount. I think that it should be based on the Cart Rules, where you can choose specific carriers. Any idea or suggestion? Link to comment Share on other sites More sharing options...
sting5 Posted May 10, 2015 Share Posted May 10, 2015 Bump, anyone managed to find an appropriate code for this? 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