View Single Post
  #3  
Old 07-30-2010, 04:11 AM
  techker's Avatar 
techker techker is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 155
 

Default Re: inventory images

before i play arround with the code would this be good?only thing i can think of..

echo (empty($row[avail].Visible = 0)? "<img src="../x.jpg" />": "<img src="/check.jpg" />");

or


{
if (row[0] ==0 "")
{
<img src="../x.jpg" />;
}
else
{
<img src="../check.jpg" />
}
}

by the way where are these files?i think i found one in skin1_original/main/products.tpl
__________________
X-Cart version 4.4.3
Reply With Quote