[ic] Display message for items with price=0

Peter peter at pajamian.dhs.org
Fri Feb 1 20:07:22 EST 2008


On 02/01/2008 04:35 PM, Bill Jones wrote:
> Fellow Interchangers,
> 
> There are several items in my store that are custom in nature and must 
> be quoted on an individual basis. I would like to display "Contact us 
> for a quote" whenever an item's price is zero.  How would I best 
> implement this?

           <td align="left">
	[if type=explicit compare="[item-price 1]"]
                 [L]Price[/L]: <b>[item-price]</b>
	[else]
		[L]Contact us for a quote[/L]
	[/else][/if]
           </td>

See:
http://www.interchange.rtfm.info/icdocs/tags/if.html
http://www.interchange.rtfm.info/icdocs/tags/PREFIX-price.html

Peter


More information about the interchange-users mailing list