{|assign var=n value=0|} {|foreach from=$productArray item="b"|} {|if $b.barcodeimageinternal|} {|section name=req1 loop=$loop|} {|section name=req loop=$b.count|} {|assign var=n value=`$n+1`|}
{|$b.name|}
{|if $n == 3|} {|assign var=n value=0|}
{|/if|} {|/section|} {|/section|} {|/if|} {|/foreach|}