View Single Post
  #4  
Old 05-27-2004, 12:41 AM
 
DanUK DanUK is offline
 

X-Adept
  
Join Date: Dec 2003
Location: UK
Posts: 800
 

Default

Still can't get it to work. I'm experimenting with the product_thumbnail.tpl. Firstly, because I'm still finding my feet I just put the word "test" in to see where it shows on the screen (alongside the product image) and then I substituted test for :

Code:
{if $product.param00 eq "Y"}[img]{$ImagesDir}/3for2.gif[/img]{/if}

So the template now looks like:
Code:
{* $Id: product_thumbnail.tpl,v 1.10 2003/08/11 10:45:10 svowl Exp $ *} {if $config.Appearance.show_thumbnails eq "Y"}[img]{if $tmbn_url}{$tmbn_url}{else}{if $full_url}{$http_location}{else}{$xcart_web_dir}{/if}/image.php?productid={$productid}{if $file_upload_data.file_path}&tmp=y{/if}{/if}[/img]{if $product.param00 eq "Y"}[img]{$ImagesDir}/3for2.gif[/img]{/if}{/if}
Still doesn't work. I've even tried outputting text based on the if statement but still no cigar. Am I doing something obviously wrong?

Thanks

Dan
__________________
4.4.2

and

4.6.1
Reply With Quote