| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Color coded order status... | ||||
|
|
Thread Tools | Search this Thread |
#111
|
|||||||
|
|||||||
Re: Color coded order status...
This line of the orders_list.tpl:
<td colspan="{$colspan}">[img]{$ImagesDir}/spacer.gif[/img]</td> The image did not show for me. I had to make it like this: <td colspan="{$colspan}"><img src="{$ImagesDir}/spacer.gif"></td> There is one other one like that for the "no_ip.gif". Not sure if anyone else ran into that. That said, this is seriously one of the best mods out there if you have a lot of orders like we do.
__________________
X-Cart 5.4.1.39 Live PHP 7.4.33 5.5.5-10.3.38-MariaDB MariaDB Apache 2.4 CENTOS 7.8 64Bit Single Quad-Core E3-1241v3 3.4Ghz 8M 1600 w/ HT 32GB RAM 2x 512GB Samsung 850 Pro SSD RAID 1 |
|||||||
#112
|
|||||||
|
|||||||
Re: Color coded order status...
cart 3.5.14
admin works fine, on the frontend I get an error message Code:
__________________
X-Cart version 3.5.9 (online) X-Cart Version 4.0.19 (online) X-Cart Version 4.1.3 (in dev) PHP 4.4.4 MySQL 4.1.21 |
|||||||
#113
|
|||||||
|
|||||||
Re: Color coded order status...
I'm happy to report that this seems to work fine on 4.1.4
__________________
Location: UK X-Cart: Gold 4.4.2, Status: Finalizing Template: Colors Free Mods: Colour Coded Orders, FAQ Manager Paid Mods: None... yet. Server: Linux, Apache: 2.2.15 (Unix), MySQL: 5.0.90-community, PHP: 5.2.13 |
|||||||
#114
|
|||||||||
|
|||||||||
Re: Color coded order status...
I just installed both color coded order status mod and color coded product list mod on version 4.1.5 - both mods work perfectly!
Thanks a lot! Guosheng www.vonbell.com |
|||||||||
#115
|
|||||||
|
|||||||
Re: Color coded order status...
Quote:
__________________
Location: UK X-Cart: Gold 4.4.2, Status: Finalizing Template: Colors Free Mods: Colour Coded Orders, FAQ Manager Paid Mods: None... yet. Server: Linux, Apache: 2.2.15 (Unix), MySQL: 5.0.90-community, PHP: 5.2.13 |
|||||||
#116
|
|||||||
|
|||||||
Re: Color coded order status...
Why can't I click on the Order #'s on version 4.0.19?
It won't let me view the orders. I have gone through the thread and not seen a solution. Please advise what I should change in the code to be able to view each order (by clicking the order #) Thanks!
__________________
4.1.9 |
|||||||
#117
|
|||||||
|
|||||||
Re: Color coded order status...
Look at this Post: http://forum.x-cart.com/showpost.php?p=145593&postcount=108 - nothing wrong with giving it a go.
If that doesn't work, try prodding someone else with 4.0.x, prodding pipercub (or anyone else that worked on this) or Upgrading to 4.1 (only if you want to!)
__________________
Location: UK X-Cart: Gold 4.4.2, Status: Finalizing Template: Colors Free Mods: Colour Coded Orders, FAQ Manager Paid Mods: None... yet. Server: Linux, Apache: 2.2.15 (Unix), MySQL: 5.0.90-community, PHP: 5.2.13 |
|||||||
#118
|
|||||||||
|
|||||||||
Re: Color coded order status for 4.0.x
I found this discussion and decided to try color coding selected cells. To make it work with my 4.0.x stores, I needed to change the variable names used in main/orders_colors.tpl. I haven't tried it yet on my 4.1.x stores.
{* $Id: orders_colors.tpl,v 1.0.0.0 2007/03/07 10:43:23 max Exp $ *} {if $orders[oid].status eq "P"} bgcolor="FFAA00"{/if} {if $orders[oid].status eq "C"} bgcolor="AAFF00"{/if} {if $orders[oid].status eq "F"} bgcolor="BBBBBB"{/if} {if $orders[oid].status eq "Q"} bgcolor="FF4444"{/if} {if $orders[oid].status eq "D"} bgcolor="DDDDDD"{/if} I inserted {include file="main/orders_colors.tpl"} within some of the <td ....> tags in the template file orders_list.tpl to get the color coding. Here is an example of a placement. It colors the cells with the pull-down order status box: {**** following line modified by bullfrog 2007mar07 ****} <TD nowrap {include file="main/orders_colors.tpl"}> {**** end of modified section ****} {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} <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" border="0" valign="absmiddle"> {/if} </TD>
__________________
Bullfrog ~~~ X-Cart Gold v4.7.2 (2) v4.7.8. ⌠If the road is easy, you're likely going the wrong way.■ ― Terry Goodkind |
|||||||||
#119
|
|||||||||
|
|||||||||
Re: Color coded order status...
Quote:
This is for the 4.X modifications. I'm using 4.1.6 and have no clue what would be needed for other versions. For those that 'lost' their hyperlinks here is the code to get them working again: To enable the hyperlink for order numbers on about line 72 find : Code:
Code:
To enable the hyperlink for the date the order was placed at about line 93 find: Code:
Code:
Nice mod. Zoe
__________________
X-Cart version 4.1.6 get the front end you want! |
|||||||||
#120
|
|||||||||
|
|||||||||
Re: Color coded order status...
Ahh Zoe - Thanks for the corrections. Looks and works great now!
__________________
Carl Tice X-Cart 4.6.6 X-Payments 3.0 ReBOOT 3.4.1 PHP 5.6.30 MySQL 5.6.35 Linux 2.6.32-042stab120.18 ionCube PHP Loader v4.7.3 Perl 5.10.1 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|