Well, at first glance it looks like you are asking it to see if a deteail image is available rather than a thumbnail.
{if $images[image].avail eq ""}
is checking the _images table and that is used for the detail images. _thumbnails is used for the thumbs. However, there is no 'avail' feild in that table.
Since X-CART in its default config will already get you 3/4 of the way to what you want (displaying a "no image" image when there is no tumb), I would look into the "image.php" file to see if you can edit that code to do what you want. image.php is what controls the displaying of the thumbs.
|