Jump to content
Sign in to follow this  
dentalstrategy

Color of the orders_status text?

Recommended Posts

How can I change the color of the Status Orders text depending on his status? Like red for "processing", "pending", etc... and then green for "delivered" "download", etc... Is there a contribution for that, to change this in the admin/Localization/Order Status section or HTML format possibility?

 

Thanks for any idee!

 

Frank

Share this post


Link to post
Share on other sites

You could test the value of the status and change the colour depending on the results.

 

There are several places in the admin side of the shop where this happens and you can see how to do it/copy the code.


Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Share this post


Link to post
Share on other sites

You could test the value of the status and change the colour depending on the results.

 

There are several places in the admin side of the shop where this happens and you can see how to do it/copy the code.

 

 

Thanks, resolved! I just add html tags for colors in the order status section in Admin...

Share this post


Link to post
Share on other sites

Thanks, resolved! I just add html tags for colors in the order status section in Admin...

 

Hi!

 

Im new with oscommerce and I need set colors for orders depending status, could you explain a bit what you did for solve it, please?

 

Thanks.

Edited by Colen

Share this post


Link to post
Share on other sites

There is a contribution, Individual Item Status, that does this rather usefully allowing you to have different statuses for different products in the order (as well as different colours to indicate them). Worth looking at if you sometimes might ship partial orders etc.


www.jyoshna.com. Currently using OsC with STS, Super Download Store, Categories Descriptons, Manufacturers Description, Individual Item Status, Infopages unlimited, Product Sort, Osplayer with flashmp3player, Product Tabs 2.1 with WebFx Tabpane and other bits and pieces including some I made myself. Many thanks to all whose contributions I have used!

Share this post


Link to post
Share on other sites

Hi!

 

Im new with oscommerce and I need set colors for orders depending status, could you explain a bit what you did for solve it, please?

 

Thanks.

 

 

Hello there,

 

In the admin section, order status section, I didn't just write just "Download enable", or "Canceled" for example but I wrot the whole html color code like this: <FONT COLOR=#006600>Download enable</FONT> and <FONT COLOR=#FF0000>Canceled</FONT> it work well! I think there must be a more "pro way" to do it, but it is ok for me. If someone have another idea, or maybe that contribution must also be interesting. Good luck.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×