Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

free shipping

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-17-2014, 04:42 PM
 
Silverson Silverson is offline
 

Advanced Member
  
Join Date: May 2013
Posts: 39
 

Default free shipping

how do I get rid of:
"Shipping cost = $0.00USD"
at check out when shipping is included.
__________________
Gold 4.6.5
Reply With Quote
  #2  
Old 09-17-2014, 06:27 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: free shipping

Silverson,
I used this question for the subject of a quick tutorial: http://youtu.be/qi_idD1lixI 3:52

In skin /common_files/modules/One_Page_Checkout/summary/cart_totals.tpl around line 50 you will see this code:
Code:
{if $config.Shipping.enable_shipping eq "Y"} <tr> <td class="total-name dcoupons-clear"> {$lng.lbl_shipping_cost}{if $cart.coupon_discount ne 0 and $cart.coupon_type eq "free_ship"} ({$lng.lbl_discounted} <a href="cart.php?mode=unset_coupons" title="{$lng.lbl_unset_coupon|escape}" class="unset-coupon-link"><img src="{$ImagesDir}/spacer.gif" alt="{$lng.lbl_unset_coupon|escape}" /></a>){/if}: </td> {if ($shipping ne '' or not $need_shipping) and $userinfo ne "" or $config.General.apply_default_country eq "Y" or $cart.shipping_cost gt 0} <td class="total-value">{currency value=$shipping_cost}</td> {else} <td class="total-value">{$lng.txt_not_available_value}</td> {/if} </tr> {/if}

Simply wrap this in an additional if statement:
Code:
{if $cart.shipping_cost gt 0} Original code goes here {/if}
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following user thanks totaltec for this useful post:
qualiteam (09-18-2014)
  #3  
Old 09-18-2014, 02:01 PM
 
Silverson Silverson is offline
 

Advanced Member
  
Join Date: May 2013
Posts: 39
 

Default Re: free shipping

Success! Thank you very much. Your U tube video really helped as well just to know what goes where.
__________________
Gold 4.6.5
Reply With Quote

The following user thanks Silverson for this useful post:
totaltec (09-18-2014)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:37 PM.

   

 
X-Cart forums © 2001-2020