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 > Dev Questions
 
Thread Tools Search this Thread
  #131  
Old 01-28-2008, 09:46 AM
 
sales@webosusa.com sales@webosusa.com is offline
 

Senior Member
  
Join Date: Nov 2007
Location: Australia
Posts: 118
 

Default Re: Color coded order status...

If need any more help... let me know. Cya!
__________________
Pedro
digitalnotions.i2u.shop
shop.modestclassy.com.au4.1.9 X-Cart
X-Cart
Business 5.3.6.0
Multi-vendor 5.3.6.0


Reply With Quote
  #132  
Old 01-28-2008, 01:26 PM
 
bobbyftk bobbyftk is offline
 

Senior Member
  
Join Date: Jun 2005
Posts: 167
 

Default Re: Color coded order status...

I just implemented this on a fresh install of 4.1.9 (just uploaded the files on the downloadable zip file)

everything seems to work fine as far as the colors, but on the order list the order # and date are no longer hyper links.
__________________
4.2.2
Reply With Quote
  #133  
Old 01-29-2008, 03:17 AM
 
sales@webosusa.com sales@webosusa.com is offline
 

Senior Member
  
Join Date: Nov 2007
Location: Australia
Posts: 118
 

Default Re: Color coded order status...

Do this....

On "orders_list.tpl" find the line...

Code:
<td {include file="main/orders_colors.tpl"}>#{$orders[oid].orderid}</td>

Replace for...

Code:
<td {include file="main/orders_colors.tpl"}><a href="order.php?orderid={$orders[oid].orderid}">#{$orders[oid].orderid}</a></td>

And then find the line...

Code:
<td {include file="main/orders_colors.tpl"} nowrap>{$orders[oid].date|date_format:$config.Appearance.date_format}</td>

for...

Code:
<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>

Take care!

Cya!
__________________
Pedro
digitalnotions.i2u.shop
shop.modestclassy.com.au4.1.9 X-Cart
X-Cart
Business 5.3.6.0
Multi-vendor 5.3.6.0


Reply With Quote
  #134  
Old 01-29-2008, 07:59 AM
 
bobbyftk bobbyftk is offline
 

Senior Member
  
Join Date: Jun 2005
Posts: 167
 

Default Re: Color coded order status...

perfect. thanks!
__________________
4.2.2
Reply With Quote
  #135  
Old 01-29-2008, 03:31 PM
 
sales@webosusa.com sales@webosusa.com is offline
 

Senior Member
  
Join Date: Nov 2007
Location: Australia
Posts: 118
 

Default Re: Color coded order status...

No problem. Enjoy!

Cya!
__________________
Pedro
digitalnotions.i2u.shop
shop.modestclassy.com.au4.1.9 X-Cart
X-Cart
Business 5.3.6.0
Multi-vendor 5.3.6.0


Reply With Quote
  #136  
Old 02-23-2008, 04:17 AM
 
equinetack equinetack is offline
 

Newbie
  
Join Date: Jan 2008
Posts: 5
 

Default Re: Color coded order status...

Pedro:

I have 2 questions:

I have everything installed and working on 4.1.9. as far as the order status.
I have BCSE's mod installed called "Pre-order-Backorder", so I have Preordered on my drop down menu. Many of my store items are preorder items.

My question is:
I want to add a color code for "Preordered". I tried simply changing the name on "backorder", but that didn't work. I decided I'd better keep backorder as an option anyway.

Can you explain to me exactly how I go about adding a new color to:

orders_colors.tpl
orders_list.tpl
and do I have to do anything with the orders.tpl???
--------------------------------------------------------------------------
2)
On my old store (v 4.0.1, I had a similar mod like this that BCSE installed but with a tracking and shipping carrier field. I still have my old store installed, but for the life of me, I cannot figure out how to get it to work on this new version. Was hoping you could come up with something similar?
(image attached)

Anxiously awaiting to hear from you. Thanks for any help in advance.
Nanci,
Florida
Attached Thumbnails
Click image for larger version

Name:	oldstore.gif
Views:	191
Size:	15.6 KB
ID:	800  
__________________
Happy Trails,
Nanci - Florida USA
v 4.19
Reply With Quote
  #137  
Old 02-23-2008, 04:19 AM
 
equinetack equinetack is offline
 

Newbie
  
Join Date: Jan 2008
Posts: 5
 

Default Re: Color coded order status...

Correction above:

My old store version is 4.0.19. I must have hit the smiley LOL.
__________________
Happy Trails,
Nanci - Florida USA
v 4.19
Reply With Quote
  #138  
Old 02-23-2008, 04:23 AM
 
equinetack equinetack is offline
 

Newbie
  
Join Date: Jan 2008
Posts: 5
 

Default Re: Color coded order status...

Pedro:

Just to make myself clear after reading my post above regarding adding the extra color.

I not only want to add the color, I know how to do that in the order_colors.tpl. I need to know how to implement the new color into the other templates so that when I select the status in Admin, it actually shows the correct color. For example, I'd like to make "Preorder" the color #B7DB86.

Thanks again...Nanci
__________________
Happy Trails,
Nanci - Florida USA
v 4.19
Reply With Quote
  #139  
Old 04-30-2008, 09:53 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default Re: Color coded order status...

Has anyone looked into this mod in earlier postings and noticed the product status portion?

Example if product is disabled, available, or out of stock etc?

If so, and you have implemented it, did you deal with variants?

For example if I have shirts, and there are different sizes or colors, have you added the color mod to the variants section?

Currently, I have the product status colors implemented, but I noticed for items with variants, the color status of the first item choice for a variants will be the dominant color for the entire product offering.

If I had a ring for example (keep it simple) the ring has multiple sizes right?

The first size, if it is out of stock will show red while all other others are in stock when looking on main product search page.

Of course when you go into variants to see all sizes available, you see all other variants are in stock, yet the dominant color for entire item is red.

Another example would be to have all other sizes out of stock, but one size is available. the one size available is the forst variant, so when you look at the product offering on the product search page, it shows as white, as if it is all ok and full of stock.

I know this can be handled with one or two if statements, I am sure, but I have not found the page dealing with the variants themselves. I cannot add color to the variants, I cannot try to implement the mod to variants themselves.


Thought maybe someone else has looked at this? I know it is an old post, but this mod is wonderful.
__________________
vs 4.1.12
Reply With Quote
  #140  
Old 04-30-2008, 11:04 PM
 
sunset sunset is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 94
 

Default Re: Color coded order status...

Brilliant Moondog - thanks so much
__________________
Sunset
X-Cart Gold v4.1.8
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 10:48 AM.

   

 
X-Cart forums © 2001-2020