{* шаблон детального описания товара *} {if $product_info ne NULL} {assign var="preheader" value="+"} {if $isadmin eq "yes"}{assign var="postheader" value="{$preheader}{$product_info.name}"}{else}{assign var="postheader" value=$product_info.name}{/if} Каталог
{if is_array($special_offers_ids) && 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 is_array($new_products_ids) && 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 is_array($popular_products_ids) && in_array($product_info.productID, $popular_products_ids)}{/if}
{include file="blocks/pictures.tpl.html"}
{if $isadmin}
{/if}

{$product_info.name}

{if $product_info.product_code && $selected_category}
{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 $selected_category} {/if}
{/if} {if $product_info.enabled}
{if $currencies_count ne 0} {if $product_info.list_price > 0 && $product_info.list_price > $product_info.Price && $product_info.Price > 0}
{$product_info.list_priceWithUnit}
{elseif $product_info.original_price}
{$product_info.original_price|show_price}
{/if} {/if} {if $currencies_count ne 0}
{if $product_info.Price lte "0"} {$smarty.const.STRING_NOPRODUCT_IN} {else} {$product_info.PriceWithUnit} {/if}
{/if}
{/if}
{if is_array($smarty.session.comparison) && in_array($product_info.productID, $smarty.session.comparison)}Перейти к сравнению{else}В список "Сравнение"{/if}
{if $product_info.enabled} {counter name='select_counter' start=0 skip=1 print=false assign='select_counter_var'} {section name=i loop=$product_extra} {assign var="current_group" value=$product_extra[i].extra_group} {if $product_extra[i].prod_show ne 0 } {if $product_extra[i].option_type eq 0 } {if !isset($prev_group) || $prev_group != $product_extra[i].extra_group}
{$extra_group[$current_group].names}
{/if} {assign var="prev_group" value=$current_group}
{$product_extra[i].name}:
{$product_extra[i].option_value}
{elseif $product_extra[i].prod_show eq 5} {counter name=select_counter} {else} {if !isset($prev_group) || $prev_group != $product_extra[i].extra_group}
{$extra_group[$current_group].names}
{/if} {assign var="prev_group" value=$current_group} {*counter name='option_show_times' start=0 skip=1 print=false*}
{$product_extra[i].name}:
{if $product_extra[i].prod_show ne 2}{counter name=select_counter}{/if} {if $product_extra[i].values_to_select_count == 1} {$product_extra[i].values_to_select[0].option_value} {if $product_extra[i].prod_show ne 2}{/if} {else} {if $product_extra[i].prod_show eq 1} {elseif $product_extra[i].prod_show eq 2 } {section name=j loop=$product_extra[i].values_to_select} {$product_extra[i].values_to_select[j].option_value}{if $smarty.section.j.index+1 != $product_extra[i].values_to_select|count}, {/if} {/section} {elseif $product_extra[i].prod_show eq 3 } {section name=j loop=$product_extra[i].values_to_select} {/section} {elseif $product_extra[i].prod_show eq 4 } {section name=j loop=$product_extra[i].values_to_select} {/section} {/if} {/if}
{/if} {/if} {/section} {/if}
{if $product_info.eproduct_filename ne ""}
{$smarty.const.PRODUCT_IS_DOWNLOADABLE} ({$product_info.eproduct_filesize})
{/if} {assign var="otstup" value=0}
{if $smarty.const.CONF_CHECKSTOCK == '1'} {$smarty.const.IN_STOCK}: {if $product_info.in_stock > 0} {if $smarty.const.CONF_EXACT_PRODUCT_BALANCE eq '1'} {$product_info.in_stock} {else} {$smarty.const.ANSWER_YES} {/if} {else} {if $product_info.in_stock lt 0} {$smarty.const.STOCK_TRAIN_GO} {else} {$smarty.const.ANSWER_NO} {/if} {/if} {/if}
{if $currencies_count ne 0} {if $product_info.shipping_freightUC} {$smarty.const.ADMIN_SHIPPING_FREIGHT}: {$product_info.shipping_freightUC} {/if} {/if}
{if $product_info.min_order_amount > 1} {$smarty.const.STRING_MIN_ORDER_AMOUNT}: {$product_info.min_order_amount}{$smarty.const.STRING_ITEM} {/if}
{if $product_info.enabled} {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 ) }
Количество:
{/if} {if $smarty.const.CONF_QUICK_ORDER && ($product_info.in_stock > 0 || $product_info.in_stock == -1)} {/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 ) }
Количество:
{/if} {if $smarty.const.CONF_QUICK_ORDER && ($product_info.in_stock > 0 || $product_info.in_stock == -1)} {/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 ) }
Количество:
{/if} {if $smarty.const.CONF_QUICK_ORDER && ($product_info.in_stock > 0 || $product_info.in_stock == -1)} {/if} {else} {if $smarty.const.CONF_SHOW_ADD2CART eq 1 && ( $smarty.const.CONF_CHECKSTOCK==0 || $product_info.in_stock > 0 ) }
Количество:
{/if} {if $smarty.const.CONF_QUICK_ORDER && ($product_info.in_stock > 0 || $product_info.in_stock == -1)} {/if} {/if} {/if} {else}
{$smarty.const.PRODUCT_NOT_AVAILABLE}
{/if} {counter name='select_counter_hidden' start=0 skip=1 print=false} {section name=i loop=$product_extra} {if $product_extra[i].option_type eq 1 && $product_extra[i].prod_show ne 2 && $product_extra[i].prod_show ne 0} {/if} {/section}
{if $product_related}
Смотрите также:
{if $product_related}
{section name=i loop=$product_related} {include file="product_slide.tpl.html" product_info=$product_related[i]} {/section}
{else}
{$smarty.const.STRING_EMPTY_CATEGORY}
{/if}
{/if}
{if $right_blocks}
{include file="blocks.tpl.html" binfo=$right_blocks bclass="hdbtop" balign="left"}
{/if}
{if $isadmin}
{$product_info.source_link}

{/if} {if $product_info.description || $product_info.brief_description || $product_info.description_translated || $downFiles}
{if $product_info.description}
{$product_info.description}
{elseif $product_info.brief_description}
{$product_info.brief_description}
{/if}
{*
{if $smarty.const.CONF_DISQUS_STAT == "1"}
{else}
{include file="header_blocks.tpl.html" header=$smarty.const.DISCUSSION_ADD_MESSAGE}
{if $error ne NULL} {if $error eq 7} {$smarty.const.ERR_WRONG_CCODE} {/if} {/if}
{include file="header_blocks.tpl.html" header="`$smarty.const.DISCUSSION_TITLE`"} {if $product_reviews ne NULL}
{section name=i loop=$product_reviews}
{$product_reviews[i].Author}
{$product_reviews[i].add_time}
{$product_reviews[i].Body}
{if $isadmin eq "yes"} {$smarty.const.DISCUSSION_DELETE_POST_LINK} {/if}
{/section}
{else}
{$smarty.const.DISCUSSION_NO_POSTS_ON_ITEM_STRING}
{/if}
{/if}
*}
{if $downFiles} {section name=d loop=$downFiles}
{$downFiles[d].anchor}
{/section} {/if}
{/if}
{/if}