wjohn Posted June 12, 2013 Share Posted June 12, 2013 Hello there, I am a newbie. I am using Prestashop version 1.5.4.1. Launched my website 3 weeks back and using Canada Post module for shipping. In shopping cart summary until someone sign in, it’s showing “Free Shipping” and it's very quiet confusing. Once sign in the total price is sky rocketing (Shipping Charges). Is there a way to fix this issue? All other features work fine. I have tried many options under “Shipping > Carrier” tabs. No luck I want to display the shipping cost for the Guest, Visitor and Customers…. Website address is http://newbuy.ca Thanking you in advance Wjohn Link to comment Share on other sites More sharing options...
Bill Dalton Posted June 12, 2013 Share Posted June 12, 2013 Do you offer free shipping and if not do you have Free Shipping set to zero? Link to comment Share on other sites More sharing options...
wjohn Posted June 12, 2013 Author Share Posted June 12, 2013 No, I don't offer Free Shipping. My free shipping settings at Prestashop under "Shipping>Shipping was "0" and now i canged them to 1000. I have changed the settings in Canada Post Merchant site as well to 1000. Still no difference. I left it to zero earlier, because it says " If you set these parameters to 0, they will be disabled. Coupons are not taken into account when calculating free shipping" And i have cleared the cache as well (In case if it's coming from Cache) Still no change.... Thanks Wjohn Link to comment Share on other sites More sharing options...
Bill Dalton Posted June 12, 2013 Share Posted June 12, 2013 Go to Localization > Translations Choose the language you wish to edit. Using your browser page search function ... search for "Free Shipping!" Add a translation. I suggest $0.00 Link to comment Share on other sites More sharing options...
wjohn Posted June 12, 2013 Author Share Posted June 12, 2013 I am getting following error Warning! Your PHP configuration limits the maximum number of fields allowed in a form: 1000 for max_input_vars. Please ask your hosting provider to increase the this limit to 1433 at least or edit the translation file manually. Link to comment Share on other sites More sharing options...
Bill Dalton Posted June 12, 2013 Share Posted June 12, 2013 If you do not have access to your php.ini ... Then you go to, prestashop\modules\blockcart\ajax-cart.js Around line 599 in ajax-cart.js. 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); 1 Link to comment Share on other sites More sharing options...
wjohn Posted June 12, 2013 Author Share Posted June 12, 2013 Hi Bill, Thanks. I did update the file and now i am getting Shipping 0. Thanks dear. One More question, Is there a way to display Approximated shipping cost for the guest and visitors based on their IP location? Or instead of zero, can we display sign in to calculate the shipping? Thanks It'ss better than before WJohn Link to comment Share on other sites More sharing options...
Bill Dalton Posted June 12, 2013 Share Posted June 12, 2013 If you are only using one language it is very easy to edit tpl or js files, but if you need both french and english you will need to get your PHP limits increased. For example to edit a tpl file you would go to, prestashop\modules\blockcart\blockcart.tpl And around line 139 find this line, <span>{l s='Shipping' mod='blockcart'}</span> And you could change that to, <span>{l s='Sign In To Calculate Shipping' mod='blockcart'}</span> I'm not suggesting you do that because it would look awful. To do what you want by IP, post in our paid help forum, http://www.prestasho...ffers-services/ You will be pleasantly surprised at how easy and inexpensive customisation can be. 1 Link to comment Share on other sites More sharing options...
Recommended Posts