
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] hints on using the [assign] tag
When overriding a tag with assign, such as
[assign shipping="45.67"]
other core tags such as [shipping] and [total-cost]
are affected. The documentation warns about this.
In the case of shipping, using [assign shipping="[delivery]"]
more than one time in a catalog, where [delivery] is a tag that
itself calls sub tag_shipping (the code executed when you use the
[shipping] tag.)
[delivery] returns a wrong result if [delivery] expected
tag_shipping to return the result of its normal calculation
instead of the last supplied value.
In cases like this, just use a
[assign clear=1]
before
[assign shipping="[delivery]"]
__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users