You’ll need to add a new column for the thumbnail in the section with all the tags, and then create a corresponding in the looping section with this content:
You’ll need to add a new column for the thumbnail in the section with all the tags, and then create a corresponding in the looping section with this content:
{include file="common_templates/image.tpl" image_width='45' obj_id=$product.product_id image=$product.main_pair.icon object_type="product"} Obviously adjust the width to what works for you.[/quote]
I started out reading your method thinking “WOW I’ll have this done by dinner!” Then I got to this point and my jaw dropped. I finally figured out how to finish this up wondering why did you even start a very descriptive method and then quickly become vague. Someone that just flew in from Mars would have no idea what to do at this point, and I would just recommend they follow this thread instead (http://forum.cs-cart.com/showthread.php?t=11018). Wish I had to begin with.
A slight update to what has been offered here as my virgin install code was not the same. 4.0.2, so I hope im not stepping on jagorny’s toes but this worked for me.
First off, you need to modify the products.php controller for admin.
/controllers/admin/products.php - around line 480:
Hope it helps, failing this download and replace the 2 files attached into their respective areas /controllers/admin/products.php & /skins/basic/admin/views/products/manage.tpl
Huh… it’s odd that your version of 2.0.4 (I think that’s what you meant) is different from mine which was an upgrade from 2.0.3… I was hoping that I would not have to do the usual process that I had to do with X, which was to compare ‘updated’ carts with the plain vanilla zips for each new release to pick up any loose change.
I would be thoroughly annoyed if that were the case - because if I have to kdiff compare anyways, the upgrade center becomes a pointless exercise.
Method suggested in first page works better then file included in attachment.
[quote name=‘Demon Templates’]A slight update to what has been offered here as my virgin install code was not the same. 4.0.2, so I hope im not stepping on jagorny’s toes but this worked for me.
First off, you need to modify the products.php controller for admin.
/controllers/admin/products.php - around line 480:
Can you update me on what you have found the difference is. As far as I am aware the two are idendical, as all i did was clear up confusion with the line numbers. That said, you may be correct if your version is different like jagorny quoted.
[QUOTE]Huh… it’s odd that your version of 2.0.4 (I think that’s what you meant) is different from mine which was an upgrade from 2.0.3… I was hoping that I would not have to do the usual process that I had to do with X, which was to compare ‘updated’ carts with the plain vanilla zips for each new release to pick up any loose change.
I would be thoroughly annoyed if that were the case - because if I have to kdiff compare anyways, the upgrade center becomes a pointless exercise.[/QUOTE]
Ok, I did this a little different. Since I have already added a column for my cost, I wasn’t really able to add a new column. Since I don’t use the list price, I just changed it.
This is what I have:
I did it by:
In:
controllers/admin/products/products.php
After:
if ($mode == 'manage') {
unset($_SESSION['product_ids']);
unset($_SESSION['selected_fields']);
Now you could just add a column if you would want to. I think after reading the other instructions, you could just follow them and get the right result.
[quote name=‘brandonvd’]Ok, I did this a little different. Since I have already added a column for my cost, I wasn’t really able to add a new column. Since I don’t use the list price, I just changed it.
This is what I have:
I did it by:
In:
controllers/admin/products/products.php
After:
if ($mode == 'manage') {
unset($_SESSION['product_ids']);
unset($_SESSION['selected_fields']);
Now you could just add a column if you would want to. I think after reading the other instructions, you could just follow them and get the right result.
Anyways, I hope this helps.
Brandon[/QUOTE]
Its work.
Maybe do you know, how to add thumd in order details?
In version 2.1 is a problem: admin thumb is not working for newly added products. For producst which were added before upgrade it is working. Do you have some solution?
[quote name=‘MimiWatch’]In version 2.1 is a problem: admin thumb is not working for newly added products. For producst which were added before upgrade it is working. Do you have some solution?