![]() |
Re: Color coded order status...
Quote:
Could you share the code you did for the Product List? I have not been able to get this part working correctly yet. |
Re: Color coded order status...
1 Attachment(s)
Vacman,
This is the code I worked on for v4.1.8 It seems to be working O.K., I haven't had any problems. There are two color codes. One color is for when the quantity hits the low available limit that you set in admin, and the other color is for when your quantity level reaches zero. This is the full code for skin1/main/products.tpl Code:
And this is the code for skin1/main/products_colors.tpl Code:
Just change the colors to whatever fits you site layout. I also adjusted the alternating colors from a medium gray to a lighter grey on the main product search result page. I changed this in the skin1_admin.css file. I changed the original #EEEEEE color to #FAFAFA to give it a very, very light grey color. Code:
And that's it. - MoonDog - |
Re: Color coded order status...
1 Attachment(s)
Well - I am not sure what I am doing wrong. I copied your exact code(s) but I still only get the image shown below. I will have to put this on my to do list for later. I am sure there is something obvious that I am over looking.
|
Re: Color coded order status...
Got the Product colour mod working a treat in 4.0.19 Pro, but only in Provider mode. Any ideas how to implement it in Admin?
|
Re: Color coded order status...
Quote:
Unfortunately I'm unable to help with this one. I'm using X-Cart Gold and it only has one mode, the Admin mode. And it seems to be working O.K. in Gold. Hopefully, someone with X-Cart Pro can help you out. Quote:
Make sure that you change the products.tpl file and not the product.tpl file. One has the letter "s" after product and the other doesn't. - MoonDog - |
Re: Color coded order status...
Quote:
Not sure if it made any difference or not, but I cleared out the compiled templates after implementing. |
Re: Color coded order status...
Quote:
Yeah - first thing I did a couple of days ago. Did not work. |
Re: Color coded order status...
For those that never put the code on 4.1.9 here gos the code from the fist step AGAIN.
Create a tpl call "orders_colors.tpl" with the code below provide by adpboss Code:
change the code below... Code:
for this one... Code:
As long as i know this modification will be good for any 4.x.x X-Cart versions but i install on 4.0.1, 4.1.0, 4.1.1, 4.1.7, 4.1.9 (I use this one). If you never modified the code on "orders_list.tpl", just download the files "READY" and upload on your server OVERWRITING the old files. Making sure everybody understand.... from the fist post says to modified the file "orders.tpl" but if you using the 4.x.x and higher you will not need that. You only will work with the "orders_colors.tpl" and "orders_list.tpl" nothing more. DOWNLAOD HERE The original forum page where you can find full discussion about this MODULE is: http://forum.x-cart.com/showthread.php?t=4949 Enjoy! |
Re: Color coded order status...
1 Attachment(s)
I am using 4.1.9 developing a site, not live yet.
I have been trying to add the Orders Status mod without much luck. I have gone over all the posts dozens of times. I have replaced all the files in question and downloaded and installed the files that Pedro posted. Still the same problem. Colors are not applied but the color code is printed in the table. Same thing happens with the Products color code. See the image below. Help? ](*,) Thanks, David http://forum.x-cart.com/images/attach/jpg.gif |
Re: Color coded order status...
Problem solved....
Some mod had me change some code in the Smarty files. This was the source of my problem. I reinstalled the original Smarty code and the color mod works great. Lesson learned, do not mess with Smarty. Payment: hours lost and much frustration. Moving on in the dev of my store, more trial and error and hopefully easier lessons. |
All times are GMT -8. The time now is 04:30 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.