[ic] Price difference

Kevin Walsh kevin at cursor.biz
Thu Feb 26 09:45:44 EST 2004


Aftermarket Cellular [wfiore at aftermarketcellular.com] wrote:
> 
> I have the following code in the promo component of my store. I would like
> to add a line "You Save:" with the difference between these two prices. I
> tried simply subtracting these fields between calc tags, but had no luck.
> Could someone please help me with this, it seems like it should be
> simple. I am using 4.8.6 
> 
> <tr>
>  <td align="center" colspan="2">
>   <b>Sale Price: [loop-price]</b>
>  </td>
> </tr>
> <tr>
>  <td align="center" colspan="2">
>    <i>MSRP: $[loop-field price]</i>
>  </td>
> </tr>
> 
Use [loop-price noformat=1] in your calculation.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/



More information about the interchange-users mailing list