Jump to content

Canada Post Module "Free Shipping" in Cart Summary


Recommended Posts

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

post-544195-0-37755400-1370996515_thumb.jpg

Link to comment
Share on other sites

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

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

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);

  • Like 1
Link to comment
Share on other sites

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

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.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...