Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Orders Info

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-26-2006, 08:53 AM
 
weswhite weswhite is offline
 

Advanced Member
  
Join Date: May 2006
Location: KS
Posts: 34
 

Default Orders Info

Hello

I have pasted the code below. What I want is in that table there, when you are in the admin side it displays four order status's. We have many more order status's than that, and I can not get them to display. We would just like to be able to view all the $ amount summaries with totals and everything.

Thanks!

Order Status That We have
Code:
<option value="I"{if $status eq "I"} selected="selected"{/if}>{$lng.lbl_not_finished}</option> <option value="Q"{if $status eq "Q"} selected="selected"{/if}>{$lng.lbl_queued}</option> <option value="P"{if $status eq "P"} selected="selected"{/if}>{$lng.lbl_processed}</option> <option value="T"{if $status eq "T"} selected="selected"{/if}>{$lng.lbl_printed}</option> <option value="S"{if $status eq "S"} selected="selected"{/if}>{$lng.lbl_shipped}</option> <option value="C"{if $status eq "C"} selected="selected"{/if}>{$lng.lbl_complete}</option> <option value="">------------------</option> <option value="Z"{if $status eq "Z"} selected="selected"{/if}>{$lng.lbl_discontinued}</option> <option value="B"{if $status eq "B"} selected="selected"{/if}>{$lng.lbl_backordered}</option> <option value="F"{if $status eq "F"} selected="selected"{/if}>{$lng.lbl_failed}</option> <option value="D"{if $status eq "D"} selected="selected"{/if}>{$lng.lbl_declined}</option> <option value="D"{if $status eq "D"} selected="selected"{/if}>{$lng.lbl_cancelled}</option> <option value="N"{if $status eq "N"} selected="selected"{/if}>{$lng.lbl_pending}</option> <option value="R"{if $status eq "R"} selected="selected"{/if}>{$lng.lbl_refunded}</option>


Orders Info Code
Code:
<table cellpadding="0" cellspacing="0" width="90%"> <tr> <td class="TableHead"> <table cellpadding="3" cellspacing="1" width="100%"> <tr class="TableHead"> <td>{$lng.lbl_status}</td> <td nowrap="nowrap" align="center">{$lng.lbl_since_last_log_in}</td> <td align="center">{$lng.lbl_today}</td> <td nowrap="nowrap" align="center">{$lng.lbl_this_week}</td> <td nowrap="nowrap" align="center">{$lng.lbl_this_month}</td> </tr> {foreach key=key item=item from=$orders} <tr class="{cycle values='SectionBox,TableSubHead'}"> <td nowrap="nowrap" align="left"> {if $key eq "I"}{$lng.lbl_not_finished} {elseif $key eq "Q"}{$lng.lbl_queued} {elseif $key eq "P"}{$lng.lbl_processed} {elseif $key eq "T"}{$lng.lbl_printed} {elseif $key eq "B"}{$lng.lbl_backordered} {elseif $key eq "S"}{$lng.lbl_shipped} {elseif $key eq "F" or $key eq "D"}{$lng.lbl_failed}/{$lng.lbl_declined} {/if}: </td> {section name=period loop=$item} <td align="center">{$item[period]}</td> {/section} </tr> {/foreach} <tr class="{cycle values='SectionBox,TableSubHead'}"> <td align="right">{$lng.lbl_gross_total}:</td> {section name=period loop=$gross_total} <td align="center">{include file="currency.tpl" value=$gross_total[period]}</td> {/section} </tr> <tr class="{cycle values='SectionBox,TableSubHead'}"> <td align="right">{$lng.lbl_total_paid}:</td> {section name=period loop=$total_paid} <td align="center">{include file="currency.tpl" value=$total_paid[period]}</td> {/section} </tr> </table> </td> </tr> </table>
__________________
X-Cart Pro v4.1.1
Reply With Quote
  #2  
Old 07-26-2006, 10:40 AM
 
balinor balinor is offline
 

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

Default

Try this:

http://forum.x-cart.com/viewtopic.php?t=10886
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 07-26-2006, 10:45 AM
 
weswhite weswhite is offline
 

Advanced Member
  
Join Date: May 2006
Location: KS
Posts: 34
 

Default

Quote:
Originally Posted by balinor

That did not do it.

When you login to the admin page, the first page about midway down you see an orders info box. I need to be able to display and list the totals and all for the new order status labels. That is what I am trying to do and it is not working. I had read that post before, that is how I found out how to add status labels.[/img]
__________________
X-Cart Pro v4.1.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:06 AM.

   

 
X-Cart forums © 2001-2020