Jump to content

Free Shipping Notice in Cart


Recommended Posts

Hi guys;

 

Hoping somebody could please help.

 

In my cart I have a freeshipping notice, which basically displays how much needs to be added to the cart to get free shipping. Prior to upgrading to 1.5 it worked fine, however now im having trouble.

 

Now the notice simply says the amount remaining to be added to get free shipping is $1.00. For example; anything over $60 on the site, is entitled to free shipping. In the cart the shipping row shows shipping costs of $0.00, however the remaining notice shows $1.00. Please see attached screenshot.

 

Interestingly the notice is only shown when the cart total is greater then the amount needed for free shipping. i.e - Notice is displayed when cart total is less than $60.00

Below is the code;

  <tr class="cart_free_shipping" {if $free_ship <= 0 || $isVirtualCart} style="display:none;" {/if}>
 <td colspan="6" style="white-space:normal;">{l s='Remaining amount to be added to your cart in order to obtain free shipping:'}</td>
 <td id="free_shipping" class="price"><span class="price">{displayPrice price=$free_ship}</span></td>

 

You can see the website here; http://rustycage.com.au

 

Thanks in advance

post-338497-0-84911800-1353981704_thumb.png

Link to comment
Share on other sites

I fixed it with

 

<tr class="cart_free_shipping" {if $free_ship <= 1 || $isVirtualCart} style="display: none;" {/if}>

 

for line 206 in shopping-cart.tpl for your theme. I'm wondering if the variable $free_ship is getting the number 1 assigned by accident somewhere.

Link to comment
Share on other sites

  On 12/9/2012 at 6:37 PM, xgarb said:

I fixed it with

 

<tr class="cart_free_shipping" {if $free_ship <= 1 || $isVirtualCart} style="display: none;" {/if}>

 

for line 206 in shopping-cart.tpl for your theme. I'm wondering if the variable $free_ship is getting the number 1 assigned by accident somewhere.

 

Thanks for the code, didn't work unfortunately.. had no effect at all :-( Is this an issue with the theme or the software?

Link to comment
Share on other sites

Don't know if this will help you. But I was doing something close to that. I was setting different thresholds for free shipping and depending on what number I was trying to get, I could not just enter the exact number, in your case 60.00

 

I'm assuming it is because of the way the numbers are rounded.

 

I had to enter either,

 

59.005550

or

60.005550

 

Depending on what I was doing.

Link to comment
Share on other sites

×
×
  • Create New...