View Single Post
  #27  
Old 09-23-2007, 11:46 AM
 
Marc Gold Marc Gold is offline
 

Member
  
Join Date: Oct 2006
Posts: 11
 

Default Re: Detailed Order Management Mod

Fantastic Mod,

One small problem for those of us that use Google Checkout. Xcart has a feature to diasble the status dropdown in admin for all Google Checkout orders because this is controlled by Google.

This mod disables this, if you would like to re-enable this feature.

your_xcart_dir/skin1/main/orders_list.tpl

Find -->

{if $usertype eq "A" or ($usertype eq "P" and $active_modules.Simple_Module ne "")}
<INPUT type="hidden" name="order_status_old[{$orders[oid].orderid}]" value="{$orders[oid].status}">
{include file="main/order_status.tpl" status=$orders[oid].status mode="select" name="order_status[`$orders[oid].orderid`]"}
{else}
{include file="main/order_status.tpl" status=$orders[oid].status mode="static"}
{/if}
{if $active_modules.Stop_List ne '' && $orders[oid].blocked eq 'Y'}
[img]{$ImagesDir}/no_ip.gif[/img]
{/if}


Change to ->

{if $usertype eq "A" or ($usertype eq "P" and $active_modules.Simple_Module 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}
{include file="main/order_status.tpl" status=$orders[oid].status mode="static"}
{/if}
__________________
www.i-point.co.uk
www.novelties4parties.co.uk - 4.1.8
www.edworthys.co.uk - 4.1.5
Inkntoner.co.uk - 4.1.8 / 4.7
ROK Universal 4.3
Displaysense - 4.2
Xcart Ver: 4.7.3
Reply With Quote