[ic] [loop] Returning a value from product field specified in variable

Stephen Ricketts steve at bojanglesdesign.co.uk
Tue Apr 6 12:08:00 EDT 2004


Yes, that works perfectly. I'm not sure quite how yet - I'll have to do some
reading up about that [field] tag.

Thanks,

Steve

> From: Stefan Hornburg <racke at linuxia.de>
> Organization: LinuXia Systems
> Reply-To: interchange-users at icdevgroup.org
> Date: Tue, 6 Apr 2004 17:04:55 +0200
> To: interchange-users at icdevgroup.org
> Subject: Re: [ic] [loop] Returning a value from product field specified in
> variable
> 
> On Tue, 06 Apr 2004 14:45:52 +0100
> Steve <interchange at bojanglesdesign.co.uk> wrote:
> 
>> 
>> Within a loop search I am trying to return a value from a field name which
>> is specified in a variable (option_selected). A simplified version of what
>> I've got is:
>> 
>> [loop search="se=sub04/sf=sku"]
>> [loop-field [value option_selected]]
>> [/loop]
>> 
>> And I've tried this based on the 'Interpolating Parameters' (2.3.1) section
>> in the Tag Reference docs.
>> 
>> [loop search="se=sub04/sf=sku"]
>> [loop-field arg="[value option_selected]"]
>> [/loop]
>> 
>> But that also doesn't work. I've got a feeling I might be going about this
>> one completely the wrong way, so any advise would be a great help.
> 
> List tags are interpolated first, therefore you need something like:
> 
> [field name="[value option_selected]" code="[loop-code]"]
> 
> Racke
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
> 



More information about the interchange-users mailing list