{extend name="public/base" /} {block name="style"} {/block} {block name="main"}
{notempty name="focus_image"}
{volist name="focus_image" id="fi"} {/volist}
{/notempty}
{notempty name="categorys_data"} {volist name="categorys_data" id="vo"}
{$vo.name}
{notempty name="vo.products"}
{volist name="vo.products" id="vp"}
{volist name="vp.sku" id="vs" key="vs_idx"} {/volist}
{$vp.name}
{$vp.spu}
{notempty name="vp.colors"}
{volist name="vp.colors" id="vc" key="vc_idx"}
{assign name="color_type" value=":rgb_or_image($vc.attr_value)" /} {eq name="color_type" value="IMAGE"} {elseif condition="$color_type == 'RGB'" /} $vc.attr_value])}> {/eq}
{/volist}
{/notempty} {/volist}
{/notempty} {/volist} {/notempty}
{/block} {block name="script"}
{/block}