[ic] List price and Sale Price
Dorothy Puma
dorothy at digilink.net
Tue Oct 7 19:53:59 EDT 2003
Dan Man wrote:
> I'm learning Interchange and have drawn a blank searching for this.
>
> I'm using Interchange 4.9.8.
>
> I see how sale price gets displayed if present instead of list price.
> How can I display both list price and sale price?
>
> I'm using foundation now for learning.
>
> Thanks
>
> Dan
>
This is how we did it. We have a field in the products table
sale_price, then we this if statement:
[comment]Price Display with Sale Price[/comment]
[if-item-field sale_price]
<FONT face=helvetica, arial sans serif style="font-size: 9pt;"
COLOR="#666666"><b>REGULAR PRICE: [item-field price]</b></font><br>
<FONT face=helvetica, arial sans serif style="font-size: 9pt;"
COLOR="#990000"><b>SALE PRICE: [item-field sale_price]</b></font>
[else]
<FONT face=helvetica, arial sans serif style="font-size: 9pt;"
COLOR="#990000"><b>PRICE: [item-price]</b></font>
[/else]
[/if-item-field]
Hope this helps,
Dorothy
More information about the interchange-users
mailing list