Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.03 KB | None | 0 0
  1. <ul{if isset($id) && $id} id="{$id}"{/if} class="product_list grid row{if isset($class) && $class} {$class}{/if}">
  2.     {foreach from=$products item=product name=products}
  3.         <li class="ajax_block_product col-xs-6 col-sm-3 item" itemscope itemtype="https://schema.org/Product">
  4.         <div class="item-content">
  5.             <div class="left-block">
  6.                 <div class="product-image-container">
  7.                     <a class="product_img_link" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url">
  8.                         <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" />
  9.                        
  10.                     </a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement