Thread: Variant Image
View Single Post
  #2  
Old 01-03-2008, 11:20 AM
 
Krista Williamson Krista Williamson is offline
 

Newbie
  
Join Date: Sep 2007
Posts: 4
 

Default Re: Variant Image

I know the issue is with my initial if statement
Quote:
{if $variants ne ""}

Does anyone know a good smarty variable to check against to see if the variant image contains a image or is blank.

Currently the above shows all the variant images in the product but also puts "X" images for variants that do not have their own image. I need to filter/remove the variant image display for those variants that do not have a image.

I tried various smarty variables but they seem to come across blank for the image and don't act as a proper flag.

Any suggestions would be greately appreciated.
__________________
Krista
X-Cart Pro v4.1.9
PHP 5.2.4
Server: Apache
Add-Ons: X-Magnifier, X-GiftRegistry, X-SpecialOffers, X-FancyCategories
Reply With Quote