[ic] Search results - look and feel

Ed LaFrance interchange-users@icdevgroup.org
Sat Jun 29 11:11:02 2002


At 05:03 PM 6/28/2002 -0500, you wrote:

>I'm a new interchange user here and in the process of customizing our
>site's look and feel. I've got the catalog up and going with relative
>few problems, but the question is this: once a customer has performed a
>search from the product list on the left, the resulting table includes
>"Product, SKU, Stock, Price, Qty, Buy". I'd like to add "Image" to this
>table and have the product's thumb appear as well.
>
>Any ideas on how to make this happen? I've altered the results.htm to
>create a column for the thumb, but don't know how to make it pull the
>thumb from the products.txt
>
>Thanks
>
>Paige Britt

It's as easy as <img src="thumb/[item-field thumb]">, but you may want to 
add a check to see if the image is actually there before you try to display it:

[if file images/thumb/[item-field thumb]]
         <img src="thumb/[item-field thumb]">
[/if]

- Ed L.


===============================================================
Increase profits from your Interchange store...
http://www.newmediaems.com/cgi-bin/nm/software_fus.html
===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================