Transluceo Posted April 8, 2013 Share Posted April 8, 2013 Have researched the forums and documentation. After reviewing the video tutorials provided in the forums section - I know that my settings and configurations are good to go. Yet, still I have issues with the fees being free for all the different types of USPS carriers I provide. Here is a screen shot of my settings. Please help - does anyone know of fix to this. Link to comment Share on other sites More sharing options...
mema99 Posted April 8, 2013 Share Posted April 8, 2013 Hi, I also have major issues with this module. I also believe that I have all the correct settings. I found several post in the forum and also in the bug tracker. The one suggestion was to modify two files related to the ajax cart. I have a custom theme and even though I believe I found the correct files to update, the changes did not help me out. The problem as I see it is that unless the customer logs in to their account the module has no where to look at the delivery address to get the shipping fee. See code below: You can remove the free shipping from the cart for non sighned in customers, Modify ajax-cart.js around line 600 change this: if (parseFloat(jsonData.shippingCostFloat) > 0 || jsonData.nbTotalProducts < 1) $('.ajax_cart_shipping_cost').text(jsonData.shippingCost); else if (typeof(freeShippingTranslation) != 'undefined') $('.ajax_cart_shipping_cost').html(freeShippingTranslation); To this: if (parseFloat(jsonData.shippingCostFloat) == 0 && parseInt(jsonData.nbTotalProducts) >= 0) $('.ajax_cart_shipping_cost').text(jsonData.shippingCost); else $('.ajax_cart_shipping_cost').text(jsonData.shippingCost); Then for the cart summery edit Shopping-cart.tpl and change from this: {if $total_shipping_tax_exc <= 0 && !isset($virtualCart)} <tr class="cart_total_delivery"> <td colspan="5">{l s='Shipping:'}</td> <td colspan="2" class="price" id="total_shipping">{l s='Free Shipping!'}</td> </tr> to this: {if $total_shipping_tax_exc <= 0 && !isset($virtualCart)} <tr class="cart_total_delivery"> <td colspan="5">{l s='Shipping:'}</td> <td colspan="2" class="price" id="total_shipping">{l s='$0.00!'}</td> </tr> I am seriously looking at a paid for support with Prestashop as I can no longer wait for a resolution that works and is easy to implement. Good luck with this. IF I get this worked out, I will post back to here with what I found. Link to comment Share on other sites More sharing options...
Transluceo Posted April 8, 2013 Author Share Posted April 8, 2013 Thanks. Look forward to seeing what you find out. 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