[ic] IF question

Stefan Hornburg Racke interchange-users@interchange.redhat.com
Fri Jun 7 03:18:02 2002


"G Guttero" <gguttero@hotmail.com> writes:

> Hi, I've got the following code in my vertical promo for debugging purposes:
> 
> [if loop-code eq st-13]YES[else]NO[/else][/if]
> 
> Why does this return YES for every item every time, no matter which items
> are being displayed in the promo?

Because that isn't a valid form for an if-statement in the ITL.

Ciao
        Racke

-- 
Free resources for Interchange programming NOW !!! 
Don't hesitate to contact me if you need my professional help.
Your core developer and consultant for the most sophisticated,
flexible and extensible Open Source eCommerce software.