dentalstrategy Posted July 11, 2009 Share Posted July 11, 2009 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 Quote Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted July 12, 2009 Share Posted July 12, 2009 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. FrostyFred 1 Quote 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 More sharing options...
dentalstrategy Posted October 15, 2009 Author Share Posted October 15, 2009 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... Quote Link to comment Share on other sites More sharing options...
Colen Posted November 13, 2009 Share Posted November 13, 2009 (edited) 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 November 13, 2009 by Colen Quote Link to comment Share on other sites More sharing options...
Ben Nevis Posted November 13, 2009 Share Posted November 13, 2009 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. Quote 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 More sharing options...
dentalstrategy Posted December 23, 2009 Author Share Posted December 23, 2009 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.