Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ul{if isset($id) && $id} id="{$id}"{/if} class="product_list grid row{if isset($class) && $class} {$class}{/if}">
- {foreach from=$products item=product name=products}
- <li class="ajax_block_product col-xs-6 col-sm-3 item" itemscope itemtype="https://schema.org/Product">
- <div class="item-content">
- <div class="left-block">
- <div class="product-image-container">
- <a class="product_img_link" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url">
- <img class="lazy" src="/img/loader_187.gif" data-original="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')|escape:'html':'UTF-8'}" alt="{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{/if}" title="{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{/if}" {if isset($homeSize)} width="{$homeSize.width}" height="{$homeSize.height}"{/if} itemprop="image" />
- </a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement