{if !empty($product.secondary_images)}
{foreach from=$product.secondary_images item="secondary_image"} {/foreach}