[ic] Help on some Code on Flypage and Components

Andrew Rich andrew at itdownunder.com.au
Mon Jan 31 10:48:53 EST 2005


Hi

IC 5.3

I am trying something like this on the flypage.

[if-item-field price < [item-data products price]]
[else]
  <strike>[L]RRP Price[/L]: <b>$[item-data products
price]</b></strike><br>
[/else]
[/if-item-field]
  [L]Our Price[/L]: <b>[item-price]</b><br>

And
This is a component.

[if-loop-field products sale_price eq [loop-data products price]]
  [L]Our Price[/L]: <b>[loop-price]</b>
[else]
  <strike>[L]RRP Price[/L]: <b>$[loop-data products
price]</b></strike><br>
  [L]Our Price[/L]: <b>[loop-price]</b><br>
[/else]
[/if-loop-field]

Obviously I am just trying to show the Products Price field crossed out
if the product is not selling for this price.

Could someone either improve on this for me or suggest a better way?

Thank you
Andrew Rich
Maps Downunder



More information about the interchange-users mailing list