View Single Post
  #1  
Old 11-20-2003, 11:52 PM
  carlisleglass's Avatar 
carlisleglass carlisleglass is offline
 

eXpert
  
Join Date: Aug 2003
Location: Carlisle, UK
Posts: 316
 

Default Thumbnails in 'Modify Product' Search Box

One thing which is lacking in the admin side of x-cart is a way of being able to see instantly which products in a category doesn't a picture. Currently you have to go into each products page and check. With this mod a small icon sized thumbnail will appear next to your product name in the search page.

PS You only need to edit one file, so is very easy to do ...

Filename: main/products.tpl

replace
Code:
<td>ID</td>
with
Code:
<td>ID</td><td></td>

just after
Code:
<td width=1%>#{$products[cat_num].productid}</td>
insert
Code:
<td width=20 align=center> {include file="product_thumbnail.tpl" productid=$products[cat_num].productid product=$product.product tmbn_url=$products[cat_num].tmbn_url image_x=20} </td>

If you want the thumbnail icons at a different size, just adjust the image_x setting in the include statement.
__________________
Darren Kierman
Carlisle Glass (http://www.carlisleglass.co.uk/)
... running X-Cart Gold 4.4.5 [unix]
Reply With Quote