| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Color coded order status... | ||||
|
|
Thread Tools | Search this Thread |
#121
|
|||||||||
|
|||||||||
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.
__________________
Carl Tice X-Cart 4.6.6 X-Payments 3.0 ReBOOT 3.4.1 PHP 5.6.30 MySQL 5.6.35 Linux 2.6.32-042stab120.18 ionCube PHP Loader v4.7.3 Perl 5.10.1 |
|||||||||
#122
|
|||||||
|
|||||||
Re: Color coded order status...
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 -
__________________
X-CART Gold v4.1.8 |
|||||||
#123
|
|||||||||
|
|||||||||
Re: Color coded order status...
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.
__________________
Carl Tice X-Cart 4.6.6 X-Payments 3.0 ReBOOT 3.4.1 PHP 5.6.30 MySQL 5.6.35 Linux 2.6.32-042stab120.18 ionCube PHP Loader v4.7.3 Perl 5.10.1 |
|||||||||
#124
|
|||||||
|
|||||||
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?
__________________
Xcart 4.0.19 Pro mySQL 5.5.44 PHP 5.3.27 |
|||||||
#125
|
|||||||
|
|||||||
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 -
__________________
X-CART Gold v4.1.8 |
|||||||
#126
|
|||||||
|
|||||||
Re: Color coded order status...
Quote:
Not sure if it made any difference or not, but I cleared out the compiled templates after implementing.
__________________
Xcart 4.0.19 Pro mySQL 5.5.44 PHP 5.3.27 |
|||||||
#127
|
|||||||||
|
|||||||||
Re: Color coded order status...
Quote:
Yeah - first thing I did a couple of days ago. Did not work.
__________________
Carl Tice X-Cart 4.6.6 X-Payments 3.0 ReBOOT 3.4.1 PHP 5.6.30 MySQL 5.6.35 Linux 2.6.32-042stab120.18 ionCube PHP Loader v4.7.3 Perl 5.10.1 |
|||||||||
#128
|
|||||||
|
|||||||
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!
__________________
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 |
|||||||
#129
|
|||||||
|
|||||||
Re: Color coded order status...
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
__________________
David Wide Screen Software LLC ============ X-Cart Gold v4.1.9 in development PHP 5.2.5 MySQL 5.0.45 Apache 2.2.6 Last edited by david@WSS : 01-27-2008 at 06:58 PM. Reason: want to attach image |
|||||||
#130
|
|||||||
|
|||||||
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.
__________________
David Wide Screen Software LLC ============ X-Cart Gold v4.1.9 in development PHP 5.2.5 MySQL 5.0.45 Apache 2.2.6 |
|||||||
|
|||
X-Cart forums © 2001-2020
|