[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ic] Help on some Code on Flypage and Components


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

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.