[ic] Showing multiple prices

ACforSale Inc Sales Team interchange-users@icdevgroup.org
Tue Nov 26 02:02:00 2002


I want to be able to show multiple prices for items on the results page
that have a sale price and only a single price for items that don't.

I can get two prices for all items with

<td align="right">
<b>[item-price]</b><br>
<strike>$[item-field price]</strike>
</td>

But if there is no sale price then the second line is a strikeout of the
same value as the first line.

But what I want is to test if [item-price] < [item-field price] and if
(and only if) so then the second line is shown

Like this

<td align="right">
<b>[item-price]</b><br>
[if item-price < item-field price]
<strike>$[item-field price]</strike>
</td>

I've searched archives but couldn't find the answer and my understanding
of the using the syntax is limited so would appreciate any help.

Gerry