Oh I see what you're saying - use this then:
Code:
{if $image_counter ne ''}
<A HREF="javascript:swapImage('image.php?productid={$product.productid}&variantid={$variants[swatch].variantid}');">
{else}
[img]image.php?productid={$product.productid}&variantid={$variants[swatch].variantid}[/img]
{/if}
{$item.option_name}
{if $image_counter ne ''}
</A>
{/if}
That what you're talking about? Just showing a regular image tag in there if the image_counter is 0.
__________________
Instinctual
8,000 feet up in the Rocky Mountains of Colorado
X-Cart Versions 3.5.x - 4.0.x
IF you xcart, THEN you prosper, ELSE you fail. ELSEIF xcart fails, THEN you fix it, all the WHILE {loop}\'ing {section}\'s to feed your $smarty mind.
|