Fix Prestashop Free Shipping

///Fix Prestashop Free Shipping

I have seen many people ask about how not to display the free shipping method on the front end of Prestashop. This is an issue only if you use a carrier that gets live rates, such as UPS, USPS, Fedex, or another carrier type like this. The main reason that this happens is that Prestashop is checking its internal shipping methods and they are not returning a value, so free shipping is displayed.

 

Free Shipping Fix

I have come up with a little work around for not displaying “Free Shipping” when you are using a live carrier. The code to fix the issue is below, and a link to the Gist is here. What the does does is checks to see if the user is logged in and then it also checks to see if a carrier is selected. If it fails those conditions then a different message is displayed. The message is configured on line 39.

 

To use this change

To use this change all you have to do is replace the contents of your blockcart.tpl file with the contents below. One thing to keep in mind is that the blockcart.tpl below might not be compatible with custom themes. If it is not compatible with your theme, you might try copying lines 38-42 and 143-148 into your theme. Good luck.

[author] [author_image timthumb=’on’] http://dh42.com/blog/wp-content/uploads/2013/01/e25a53ad08546a2ca277c7f6726421ac1.jpg [/author_image] by  is an expert in Prestashop and SEO related to e-commerce sites. He is the owner of Nashville based Designhaus42, a leader in Prestashop development with clients all over the world. In his free time he is a global moderator on the Prestashop forums and is very active in the SEO moz forums.[/author]
2018-06-02T12:22:12+00:00