Edit File: product_icon.tpl
{capture name="main_icon"} <a href="{"products.view?product_id=`$product.product_id`"|fn_url}"> {include file="common/image.tpl" obj_id=$obj_id_prefix images=$product.main_pair image_width=$settings.Thumbnails.product_lists_thumbnail_width image_height=$settings.Thumbnails.product_lists_thumbnail_height} </a> {/capture} {if $product.image_pairs && $show_gallery} <div class="cm-image-gallery-wrapper"> <div class="thumbs-wrapper cm-image-gallery owl-carousel" data-ca-items-count="1" id="icons_{$obj_id_prefix}"> {if $product.main_pair} <div class="cm-gallery-item cm-item-gallery"> {$smarty.capture.main_icon nofilter} </div> {/if} {foreach from=$product.image_pairs item="image_pair"} {if $image_pair} <div class="cm-gallery-item cm-item-gallery"> <a href="{"products.view?product_id=`$product.product_id`"|fn_url}"> {include file="common/image.tpl" obj_id="`$obj_id_prefix`_`$image_pair.image_id`" images=$image_pair image_width=$settings.Thumbnails.product_lists_thumbnail_width image_height=$settings.Thumbnails.product_lists_thumbnail_height} </a> </div> {/if} {/foreach} </div> </div> {else} {$smarty.capture.main_icon nofilter} {/if}
Back to File Manager