View Single Post
  #37  
Old 06-26-2004, 06:43 AM
 
nfc5382 nfc5382 is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 481
 

Default

hey thanks! I couldnt figure out the fields that were in the orders struct. Is there a place where they are defined?

i did something like this in orders.tpl (only support ups):
Code:
<td width=90% class=Text {include file="main/order_colors.tpl"}> {if $orders[cat_num].shippingid == 0 && $orders[cat_num].shipping_cost == "0.00"} FREE {elseif $orders[cat_num].shippingid == 1} UPS Ground {elseif $orders[cat_num].shippingid == 2} UPS World {elseif $orders[cat_num].shippingid == 23} UPS 3 Day {elseif $orders[cat_num].shippingid == 75} UPS Canada {else} ??? {/if} </td>

works good!!! thanks man!
[/code]
__________________
-----------------------
x-cart v4.7.6 [LIVE]
x-cart v4.0.18 [retired 2004-2016]
x-cart v3.5.13 [retired]
x-cart v3.4.14 [retired]
Reply With Quote