{* product brief view (from a category or search) *} {if $product_info ne NULL} {if $product_info.slug} {assign var=_product_url value="?ukey=product&productID=`$product_info.productID`&product_slug=`$product_info.slug`"|set_query_html} {else} {assign var=_product_url value="?ukey=product&productID=`$product_info.productID`"|set_query_html} {/if} {if $widget}{assign var=_form_action_url value="&view=noframe&external=1"}{/if}
{assign var=_cnt value=''} {if $product_info.thumbnail || $product_info.picture}
{if $product_info.thumbnail} {$product_info.name|escape:'html'} {elseif $product_info.picture} {$product_info.name|escape:'html'} {/if}
{/if}
{$product_info.name|escape:'html'} {* product code (SKU) *} {if $product_info.product_code && $smarty.const.CONF_ENABLE_PRODUCT_SKU}
{$product_info.product_code|escape:'html'} {/if}
{if $product_info.brief_description}
{$product_info.brief_description}
{/if} {if $smarty.const.CONF_VOTING_FOR_PRODUCTS eq 'True'} {if $PAGE_VIEW ne 'mobile' && $product_info.customer_votes > 0} {* rating *}
 
 
{/if} {/if} {if $product_info.product_extra}
{counter name='select_counter' start=0 skip=1 print=false assign='select_counter_var'} {section name=i loop=$product_info.product_extra} {if $product_info.product_extra[i].option_type != 0} {section name=k loop=$product_info.product_extra[i].option_show_times} {/section} {/if} {/section}
{$product_info.product_extra[i].name|escape:'html'}{if $product_info.product_extra[i].option_show_times > 1} ({$smarty.section.k.index+1}):{else}:{/if} {counter name=select_counter assign=_cnt}
{/if} {if $currencies_count ne 0 && $product_info.Price > 0}
{$product_info.PriceWithUnit}
{/if} {if $product_info.ordering_available && $product_info.Price>0 && ( $smarty.const.CONF_SHOW_ADD2CART eq 1 ) && ( $smarty.const.CONF_CHECKSTOCK==0 || $product_info.in_stock > 0 ) }
{elseif $smarty.const.CONF_SHOW_ADD2CART eq 1 && $smarty.const.CONF_CHECKSTOCK && !$product_info.in_stock && $product_info.ordering_available}
{lbl_prd_out_of_stock}
{/if} {if $PAGE_VIEW ne 'mobile' && ($PAGE_VIEW ne 'vkontakte') && ($PAGE_VIEW ne 'facebook') && $product_info.allow_products_comparison && $show_comparison} {* removed ' && $categoryID == $product_info.categoryID' *}
{/if}
{/if}