<form class="variants add2cart_details" data-id="{$product_item->id}" data-name="{$product_item->name}">
<div class="con_cont">
<div class="matchheight">
<a href="products/{$product_item->url}" class="add2cart_prod_name">{$product_item->name|escape}</a>
<div class="select-box">
<label {if $product_item->variants|count == 1}class="hidden"{/if}>
<select name="variant" id="variant_{$product_item->id}" class="select-variant" data-blockid="{$product_item->id}">
{foreach $product_item->variants as $v}
<option value="{$v->id}"
data-price="{$v->price|convert} {$currency->sign|escape}"
{if $v->compare_price} data-compare="{$v->compare_price|convert}"{/if}
{if $v->name} data-name="{$v->name}"{/if}
{if $product_item->variant->id==$v->id}selected{/if}
>{$v->name}</option>
{/foreach}
</select>
</label>
</div>
</div>
<span class="add2cart_prod_price">
{if $product_item->variants|count > 0}
<p id="product_price_{$product_item->id}" class="product-price">
{if $product_item->variant->compare_price}<del>{$product_item->variant->compare_price|convert}</del>{/if}
<ins>{$product_item->variant->price|convert} {$currency->sign|escape}</ins>
</p>
{else}
<span class="out-of-stock">Нет в наличии</span>
{/if}
</span>
</div>
<div class="add2cart_buttons clearfix">
<a href="#" class="pro_add2cart_add add2cart"><i class="ico-cart"></i>В корзину</a>
<a href="products/{$product_item->url}" class="pro_add2cart_details"><i class="ico-angle-right"></i>Подробнее</a>
</div>
</form>