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

Color coded order status...
 
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features
 
Thread Tools Search this Thread
  #201  
Old 03-02-2015, 05:16 PM
 
Thomasb134 Thomasb134 is online now
 

X-Adept
  
Join Date: Apr 2007
Location: USA
Posts: 758
 

Default Re: Color coded order status...

Quote:
I have many extras such as ... to show if order is first time order, to show how many orders customer has had ...
Any chance you can share the code for those two new features?
__________________
Thomas / USA
XCart V4.4.5 Gold
XCart Mobile V1.4.12
XCart X-PDF
XCart X-HotProducts
AlteredCart Checkout One (One Page Checkout)
BCSE Back In Stock
CFL Holiday Message
CFL System Message
Smack Digital (WebsiteCM) Remember Anon Carts
xcartmods Testimonials
Unix, PHP 7.0 (patched 5.4). Currently patching PHP 7.1
MySQL 5.6
Reply With Quote
  #202  
Old 03-02-2015, 05:41 PM
 
Rob Barclay Rob Barclay is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 38
 

Default Re: Color coded order status...

sure though it wont be tonight (2:40am uk time) It spans a few files I will need to sit and look through files again and see what the edits and new code involved for each. Will have time later this week to sort though.
__________________
Version 4.6.1
Reply With Quote
  #203  
Old 03-02-2015, 05:58 PM
 
Thomasb134 Thomasb134 is online now
 

X-Adept
  
Join Date: Apr 2007
Location: USA
Posts: 758
 

Default Re: Color coded order status...

Fantastic!
__________________
Thomas / USA
XCart V4.4.5 Gold
XCart Mobile V1.4.12
XCart X-PDF
XCart X-HotProducts
AlteredCart Checkout One (One Page Checkout)
BCSE Back In Stock
CFL Holiday Message
CFL System Message
Smack Digital (WebsiteCM) Remember Anon Carts
xcartmods Testimonials
Unix, PHP 7.0 (patched 5.4). Currently patching PHP 7.1
MySQL 5.6
Reply With Quote
  #204  
Old 03-03-2015, 08:43 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default Re: Color coded order status...

I do have that file as well, I just wanted to get this concept out there.
__________________
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
Reply With Quote
  #205  
Old 03-24-2015, 02:18 AM
  zone1creative's Avatar 
zone1creative zone1creative is offline
 

eXpert
  
Join Date: Jan 2009
Location: Hove, UK
Posts: 302
 

Default Re: Color coded order status...

I have a free module that I put together a few years ago for xcart 4.
This will allow you to set the colour of your order statuses.

Not tested it for a while but should work still for xcart 4

http://z1c.ecwid.com/#!/X-Cart-Mods/c/4943003/offset=0&sort=normal
__________________
Pinakin Patel
Zone1 Creative Ltd
http://www.zone1creative.co.uk/
Reply With Quote
  #206  
Old 07-25-2015, 02:26 PM
 
georgewf georgewf is offline
 

Advanced Member
  
Join Date: Feb 2004
Posts: 69
 

Default Re: Color coded order status...

Hey guys, Some great ideas in this thread. Here's some code to add additional customer info like referer in the orders list.

The customer data is not directly available in the orders template.
So in orders.php add a field in this SQL select

// mod: add referer
$orders = func_query("SELECT $sql_tbl[orders].*, $sql_tbl[customers].id AS existing_userid, $sql_tbl[customers].login, $sql_tbl[customers].referer $search_condition ORDER BY $sort_string LIMIT $first_page, $objects_per_page");


In order_list.tpl add in the orders list:
<td> {$orders[oid].referer|replace:'http://':''|replace:'https://':''|truncate:"30":"...":TRUE:FALSE|strip_tags}
</td>

Also add new column header in that table and adjust colspan and widths.

Anyone know how to get the sum of orders placed by a customer like Rob has?
__________________
xcart 4.7.7
Reply With Quote
  #207  
Old 07-25-2015, 03:33 PM
 
espresso espresso is offline
 

eXpert
  
Join Date: Apr 2007
Location: Ontario, Canada
Posts: 223
 

Default Re: Color coded order status...

Yes, this is a much needed featue:

On orders page, please show if a customer has placed multiple orders!
__________________
Rene
End user - merchant
Did the big jump from 4.5.3 to 4.6.6
Testing 5
Mods:
CDSEO-Pro, xCMS, Create-A-Sale, OPC AC, Cash Rewards AC, On-Sale AC, Smart-Search AC, Kit Builder AC, Manufacturer-A-Z, Product-Bundle, Remember-Cart, Testimonials, Customer Quotes, CFL mods and many more.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:20 PM.

   

 
X-Cart forums © 2001-2018