Jump to content

Prestashop 1.6: Remove shipping costs when customer is not logged in


Recommended Posts

Hi,

 

I hope someone can help me, I have an international store (PrestaShop version 1.6.0.14) and my customers are seeing a shipping charge in their shopping cart before they've logged in. This leads to confusion as once they've added their address the shipping amount changes, customers think they are being ripped off and they abandon the cart. I've done a lot of searching but I can't find a solution that works.

 

I've enabled "Ranges" for each zone in Shipping>carriers>Shipping locations and costs, I've also unchecked Visitor and Guest in group access.

 

Thanks in advance,

Justin

Edited by Spoons (see edit history)
Link to comment
Share on other sites

Hi,

 

I hope someone can help me, I have an international store (PrestaShop version 1.6.0.14) and my customers are seeing a shipping charge in their shopping cart before they've logged in. This leads to confusion as once they've added their address the shipping amount changes, customers think they are being ripped off and they abandon the cart. I've done a lot of searching but I can't find a solution that works.

 

I've enabled "Ranges" for each zone in Shipping>carriers>Shipping locations and costs, I've also unchecked Visitor and Guest in group access.

 

Thanks in advance,

Justin

I have the same problem with no real answer on the topic. :(

It says:"Free Shipping!" until the customer logs in, then it shows the real shipping cost.

VERY ANNOYING!

 

EDIT:

OK, I just found a post that took care of the problem.

It's about editing the text "Free Shpping!" to whatever you want.

In my case, I changed it to: "Calculated after Login!" so at least customers don't have false expectations.

 

Here's the link to the post:

https://www.prestashop.com/forums/topic/320212-solved-ps-16-always-free-shipping-in-the-cart/?p=1650923

 

PS: I only used the first part. (I don't have translation module installed)

Look to Localization / Translations, Front office translations, select your theme, language and click modify scroll through to SHOPPING CART (towards the bottom)  and edit the translation for Free Shipping! to what you want!

 

Hope this helps!

Edited by Slidster (see edit history)
Link to comment
Share on other sites

  • 4 months later...

It is not this related thanks for your help

I have the same problem with no real answer on the topic. :(

It says:"Free Shipping!" until the customer logs in, then it shows the real shipping cost.

VERY ANNOYING!

 

EDIT:

OK, I just found a post that took care of the problem.

It's about editing the text "Free Shpping!" to whatever you want.

In my case, I changed it to: "Calculated after Login!" so at least customers don't have false expectations.

 

Here's the link to the post:

https://www.prestashop.com/forums/topic/320212-solved-ps-16-always-free-shipping-in-the-cart/?p=1650923

 

PS: I only used the first part. (I don't have translation module installed)

Look to Localization / Translations, Front office translations, select your theme, language and click modify scroll through to SHOPPING CART (towards the bottom)  and edit the translation for Free Shipping! to what you want!

 

Hope this helps!

 

I have the same problem with no real answer on the topic. :(

It says:"Free Shipping!" until the customer logs in, then it shows the real shipping cost.

VERY ANNOYING!

 

EDIT:

OK, I just found a post that took care of the problem.

It's about editing the text "Free Shpping!" to whatever you want.

In my case, I changed it to: "Calculated after Login!" so at least customers don't have false expectations.

 

Here's the link to the post:

https://www.prestashop.com/forums/topic/320212-solved-ps-16-always-free-shipping-in-the-cart/?p=1650923

 

PS: I only used the first part. (I don't have translation module installed)

Look to Localization / Translations, Front office translations, select your theme, language and click modify scroll through to SHOPPING CART (towards the bottom)  and edit the translation for Free Shipping! to what you want!

 

Hope this helps!

Link to comment
Share on other sites

  • 1 year later...

hiding shipping costs because they are inaccurate has been solved!

 

We solved the integration of international shipping visitor localization for logged and non-logged visitors.  

 

Really you have to see it to believe it, it's incredible.

 

Totally solves issue of wrong carriers/costs for your international visitors logged in or non-logged in.

 

Please visit the back office demo and front office demonstration.

 

PrestaShop International Shipping Carrier Localization Pro

 

This solves all your carrier localization issues.  

  • Like 1
Link to comment
Share on other sites

  • 11 months later...
OK, there is a  way to remove the "Free shipping" text from the cart, when a user is not logged in. (works in 1.6.1.17)
Step1. Go to theme/modules/blockcart/blockcart.tpl file and look the following lines (around line 124):
<span class="price cart_block_shipping_cost ajax_cart_shipping_cost">
 {if $shipping_cost_float == 0}
  {l s='Free shipping!' mod='blockcart'}
 {else}
      {$shipping_cost}
 {/if}
</span>
<span>
 {l s='Shipping' mod='blockcart'}
</span>

and replace them with:
 

{if !$logged AND !$cart->id_customer}
  <span class="price cart_block_shipping_cost">
   <a href="index.php?controller=authentication&back=my-account">{l s='indeterminate' mod='blockcart'}</a>
  </span>
{else}
  <span class="price cart_block_shipping_cost ajax_cart_shipping_cost">
     {if $shipping_cost_float == 0}
       {l s='Free shipping!' mod='blockcart'}
     {else}
       {$shipping_cost}
     {/if}
  </span>
{/if}
  <span>{l s='Shipping' mod='blockcart'}</span>

Step 2. Look for the following code (around line 263):

 

<span class="ajax_cart_shipping_cost">
{if $shipping_cost_float == 0}
 {l s='Free shipping!' mod='blockcart'}
{else}
 {$shipping_cost}
{/if}
</span>

and replace it with:

{if !$logged AND !$cart->id_customer}
 <span>
  {l s='indeterminate' mod='blockcart'}
 </span>
{else}
 <span class="ajax_cart_shipping_cost">
     {if $shipping_cost_float == 0}
       {l s='Free shipping!' mod='blockcart'}
     {else}
       {$shipping_cost}
     {/if}
 </span>
{/if}

If you're site is in other language than english, go to translations, look for the module blockcart and replace the "indeterminate" with whatever you want to be shown.
Solution published by Ricardo Petrucci

 

Edited by RoCoART (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...