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

RE: [ic] Assign IC variable to another....


Kevin Old suppressed wrote:
> 
> To set the variable I've tried(in the component cart):
> ....snip
>               <td class="contentbar2" align=right><b>[subtotal]</b></td>
> [seti topsubtotal][value subtotal][/seti]
> ....snip
> 
> To display it, I've tried:
> 
> [if scratch topsubtotal]
>         Subtotal:&nbsp;[scratch topsubtotal]
> [else]
>         Subtotal:&nbsp;$0.00
> [/else]
> [/if]
> 
You seem to be confusing the [value] tag with the [subtotal] tag.
Both tags are listed in the Interchange Tags Reference documentation,
if you need more information.

To answer your question, you probably want something like this:

    [tmp topsubtotal][subtotal][/tmp]

I can't quite see the point of your code.  Why not just use the
following?

    Subtotal: [subtotal]

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    suppressed
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/

_______________________________________________
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.