Naldinho Posted August 4, 2014 Share Posted August 4, 2014 I apologize for starting another topic on free shipping but this upgrade to 1.6.0.9 is not going as very smoothly and I'm too tired fustrated to figure out which of the numerous topics actually has a solution. When someone who is not logged in / has not entered an address and they add something to their cart they get the Free Shipping. In 1.5 I was able to edit a .tpl file and change that to something along the lines of shipping requires an address to be calculated. I would like to do the same thing with 1.6.Can anyone point me in the right direction? Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 4, 2014 Share Posted August 4, 2014 I apologize for starting another topic on free shipping but this upgrade to 1.6.0.9 is not going as very smoothly and I'm too tired fustrated to figure out which of the numerous topics actually has a solution. When someone who is not logged in / has not entered an address and they add something to their cart they get the Free Shipping. In 1.5 I was able to edit a .tpl file and change that to something along the lines of shipping requires an address to be calculated. I would like to do the same thing with 1.6.Can anyone point me in the right direction? Are you using a live carrier like UPS, USPS, FedEx ? Link to comment Share on other sites More sharing options...
Naldinho Posted August 4, 2014 Author Share Posted August 4, 2014 Both now. I have FedEx but now with the upgrade I am also going to add a custom carrier that would only kick in for orders over a certain weight and that carrier will be rule based. Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 4, 2014 Share Posted August 4, 2014 Both now. I have FedEx but now with the upgrade I am also going to add a custom carrier that would only kick in for orders over a certain weight and that carrier will be rule based. Hey, check out this post by MissLili it should help. Keep me posted, thanks. http://www.prestashop.com/forums/topic/320212-solved-ps-16-always-free-shipping-in-the-cart/?p=1723357 Link to comment Share on other sites More sharing options...
Naldinho Posted August 4, 2014 Author Share Posted August 4, 2014 Worked. The phrase Log in to calculate shipping was too long for the template and that made it look funny but I just shortened it and problem solved. Thank you very much. Link to comment Share on other sites More sharing options...
benjamin utterback Posted August 4, 2014 Share Posted August 4, 2014 Worked. The phrase Log in to calculate shipping was too long for the template and that made it look funny but I just shortened it and problem solved. Thank you very much. Did it work exactly right? Were the numbers correct in terms of the line that you needed to change? Link to comment Share on other sites More sharing options...
Naldinho Posted August 4, 2014 Author Share Posted August 4, 2014 (edited) I didn't use line numbers and looking at her post she didn't give any that I can see. I searched the file for shipping_cost_float and it appears twice -- first on line 145 and then again on line 283 (for default theme Presta Shop (1.6.0.9). In both instances you have the if / else condition she instructs us to replace. I replaced them both with the suggested code and it worked. I am not certain if the second instance needs replacing as it appeared to work with just replacing the instance at line 145 but when I saw the repeated code I decided to replace it as well as it might control how shipping is displayed somewhere I haven;t looked yet. Edited August 4, 2014 by Naldinho (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts