Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Color of the orders_status text?


dentalstrategy

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

Link to comment
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 ======>>>>>.

Link to comment
Share on other sites

  • 3 months later...

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...

Link to comment
Share on other sites

  • 4 weeks later...

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
Link to comment
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!

Link to comment
Share on other sites

  • 1 month later...

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...