{* шаблон короткого описния товара *} {if $product_info ne NULL}
{section name=b loop=$blocks_labels} {if in_array($product_info.productID, $blocks_labels[b].products)}
{if $blocks_labels[b].icon}{$blocks_labels[b].title}{else}{$blocks_labels[b].label}{/if}
{/if} {/section} {*if in_array($product_info.productID, $special_offers_ids)}
{if $smarty.const.CONF_SPECIAL_IMG}{$smarty.const.STRING_LABEL_SPECIAL}{else}{$smarty.const.STRING_LABEL_SPECIAL}{/if}
{/if} {if in_array($product_info.productID, $new_products_ids)}
{if $smarty.const.CONF_NEW_IMG}{$smarty.const.STRING_LABEL_NEW}{else}{$smarty.const.STRING_LABEL_NEW}{/if}
{/if} {if in_array($product_info.productID, $popular_products_ids)}{/if*}
{if $smarty.const.CONF_DISPLAY_PRCODE eq 1}
{if $product_info.product_code} {$smarty.const.STRING_PRODUCT_CODE}: {$product_info.product_code} {/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].prod_show ne 0 } {if $product_info.product_extra[i].option_type eq 0 }
{$product_info.product_extra[i].name}
{$product_info.product_extra[i].option_value}
{elseif $product_info.product_extra[i].prod_show eq 5} {counter name=select_counter} {else}
{$product_info.product_extra[i].name}
{if $product_info.product_extra[i].prod_show ne 2}{counter name=select_counter}{/if} {if $product_info.product_extra[i].values_to_select_count == 1} {$product_info.product_extra[i].values_to_select[0].option_value} {if $product_info.product_extra[i].prod_show ne 2}{/if} {else} {if $product_info.product_extra[i].prod_show eq 1} {elseif $product_info.product_extra[i].prod_show eq 2 } {section name=j loop=$product_info.product_extra[i].values_to_select} {$product_info.product_extra[i].values_to_select[j].option_value}{if $smarty.section.j.index+1 != $product_info.product_extra[i].values_to_select|count}, {/if} {/section} {elseif $product_info.product_extra[i].prod_show eq 3 } {section name=j loop=$product_info.product_extra[i].values_to_select} {/section} {elseif $product_info.product_extra[i].prod_show eq 4 } {section name=j loop=$product_info.product_extra[i].values_to_select} {/section} {/if} {/if}
{/if} {/if} {/section}
{/if}
{if $product_info.Price gt "0"}
{$product_info.PriceWithUnit}
{/if} {if $product_info.list_price > $product_info.Price}
{$product_info.list_priceWithUnit}
{elseif $product_info.original_price}
{$product_info.original_price|show_price}
{/if}
{if $smarty.const.CONF_OPEN_SHOPPING_CART_IN_NEW_WINDOW eq 1} {if $smarty.const.CONF_SHOW_ADD2CART eq 1 && ( $smarty.const.CONF_CHECKSTOCK==0 || $product_info.in_stock > 0 ) } {$smarty.const.ADD_TO_CART_STRING} {/if} {else} {if $smarty.const.CONF_CART_METHOD eq 2} {if $smarty.const.CONF_SHOW_ADD2CART eq 1 && ( $smarty.const.CONF_CHECKSTOCK==0 || $product_info.in_stock > 0 ) } {$smarty.const.ADD_TO_CART_STRING} {/if} {else if $smarty.const.CONF_CART_METHOD eq 3} {if $smarty.const.CONF_SHOW_ADD2CART eq 1 && ( $smarty.const.CONF_CHECKSTOCK==0 || $product_info.in_stock > 0 ) } {$smarty.const.ADD_TO_CART_STRING} {/if} {else} {if $smarty.const.CONF_SHOW_ADD2CART eq 1 && ( $smarty.const.CONF_CHECKSTOCK==0 || $product_info.in_stock > 0 ) } {$smarty.const.ADD_TO_CART_STRING} {/if} {/if} {/if} {counter name='select_counter_hidden' start=0 skip=1 print=false} {section name=i loop=$product_info.product_extra} {if $product_info.product_extra[i].option_type eq 1 && !in_array($product_info.product_extra[i].prod_show, array(0, 2))} {/if} {/section}
{if $isadmin} {/if}
{/if}