Interchange Developer Resource
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] IF question



"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.


Search for: Sort by: