View Single Post
  #82  
Old 09-27-2004, 07:23 AM
 
inksticks inksticks is offline
 

Advanced Member
  
Join Date: Aug 2004
Posts: 34
 

Default

In skin1/main/customer/cart_totals.tpl I located this code:

Code:
<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}

I added
Code:
or $cart.shipping_cost eq 0
after
Code:
or $cart.shipping_cost gt 0

This fixed the n/a problem and now 0.00 is being shown instead of n/a but in the Delivery method: drop down list the prices of all methods still disappear when when free shipping is selected. This problem does not occur when a customer is logged in so I don't think it is a bug. There must be another place in the tpl that is causing this to happen. Any ideas?
__________________
X-Cart 4.0.5
http://www.inksticks.com/
Reply With Quote