View Single Post
  #144  
Old 10-31-2008, 11:36 AM
 
manolodf manolodf is offline
 

Advanced Member
  
Join Date: Jun 2003
Posts: 50
 

Default Re: Color coded order status...

I have figured out how to keep the Google Checkout Properties with the Color Coded Order Status, just use the following code instead of the one on page 12, or you can manually insert the color code using the original orders_list.tpl which is how I came up with this:

Code:
{* Colors modification MOD *} <tr{cycle values=", class='TableSubHead'"}> <td width="5"><input type="checkbox" name="orderids[{$orders[oid].orderid}]" /></td> <td {include file="main/orders_colors.tpl"}><a href="order.php?orderid={$orders[oid].orderid}">#{$orders[oid].orderid}</a></td> <td {include file="main/orders_colors.tpl"} nowrap="nowrap"> {if $usertype eq "A" or ($usertype eq "P" and $active_modules.Simple_Mode ne "")} <input type="hidden" name="order_status_old[{$orders[oid].orderid}]" value="{$orders[oid].status}" /> {if $orders[oid].goid ne ""} {assign var="is_gcheckout_orders" value="1"} {include file="main/order_status.tpl" status=$orders[oid].status mode="select" name="order_status[`$orders[oid].orderid`]" extra="disabled='disabled'"} {else} {include file="main/order_status.tpl" status=$orders[oid].status mode="select" name="order_status[`$orders[oid].orderid`]"} {/if} {else} <a href="order.php?orderid={$orders[oid].orderid}"><b>{include file="main/order_status.tpl" status=$orders[oid].status mode="static"}</b></a> {/if} {if $active_modules.Stop_List ne '' && $orders[oid].blocked eq 'Y'} <img src="{$ImagesDir}/no_ip.gif" style="vertical-align: middle;" alt="{$lng.lbl_blocked}:{$orders[oid].ip}" title="{$lng.lbl_ip_blocked|substitute:"ip":$orders[oid].ip}" /> {/if} </td> <td {include file="main/orders_colors.tpl"}>{$orders[oid].firstname} {$orders[oid].lastname} ({$orders[oid].login})</td> {if $usertype eq "A" and $single_mode eq ""} <td>{$orders[oid].provider}</td> {/if} <td {include file="main/orders_colors.tpl"} nowrap="nowrap"><a href="order.php?orderid={$orders[oid].orderid}">{$orders[oid].date|date_format:$config.Appearance.datetime_format}</a></td> <td {include file="main/orders_colors.tpl"} nowrap="nowrap" align="right"> <a href="order.php?orderid={$orders[oid].orderid}">{include file="currency.tpl" value=$orders[oid].total}</a> </td> </tr> {* Colors modification MOD *}
__________________
X-Cart Gold v4.1.9
Reply With Quote