Output Size Attribute As List#
Description#
Get Attributes for Size Output pipe (|) separated list
Snippet#
<mvt:comment>
| Get Attributes for Size
| Output pipe (|) separated list
</mvt:comment>
<mvt:assign name="g.size_list" value="''" />
<mvt:foreach iterator="size" array="record:attributes:size">
<mvt:assign name="g.size_list" value="g.size_list $ l.settings:size $ '|'" />
</mvt:foreach>
<mvt:assign name="g.size_list" value="substring( g.size_list, 1, len( g.size_list )-1 )" />
<mvt:assign name="g.size_list" value="miva_csv_encode( g.size_list, '|' )" />
Output: &mvt:global:size_list;
Functions Used#
substring
miva_csv_encode