View Single Post
  #2  
Old 07-03-2005, 03:16 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Not sure if this will work outside of cart.php, but this is the bit of code that controls the shipping cost display in cart_totals.tpl:

Code:
<TR> <TD nowrap><FONT class="FormButton">{$lng.lbl_shipping}{if $cart.coupon_discount ne 0 and $cart.coupon_type eq "free_ship"} ({$lng.lbl_discounted} [img]{$ImagesDir}/clear.gif[/img]){/if} :</FONT></TD> <TD>[img]{$ImagesDir}/null.gif[/img] </TD> <TD nowrap align="right"><FONT class="ProductPriceSmall">{if $login ne "" or $config.General.apply_default_country eq "Y" or $cart.shipping_cost gt 0}{include file="currency.tpl" value=$shipping_cost}</FONT></TD> <TD nowrap align="right">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$shipping_cost}{else}n/a{assign var="not_logged_message" value="1"}</FONT></TD><TD>{/if}</TD> </TR> {/if}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote