{* Шаблон детального описания товара *} {if $product_info ne NULL} {if !$printable_version}
{* Для эффекта затемнения всей страницы при развертывании большого фото раскомментируйте этот блок кода
*} {assign var="preheader" value="+"} {if $admlink}{assign var="postheader" value=`$preheader``$product_info.name`}{else}{assign var="postheader" value=$product_info.name}{/if} {include file="header.tpl.html" header=$postheader}

{if !$printable_version}{if $smarty.const.CONF_USE_DISCUSS eq 1}{$smarty.const.DISCUSS_ITEM_LINK} ({$product_reviews_count} {$smarty.const.POSTS_FOR_ITEM_STRING}){/if}{/if}{$smarty.const.LINK_TO_HOMEPAGE}{section name=i loop=$product_category_path}{if $product_category_path[i].categoryID != 1} / {$product_category_path[i].name}{/if}{/section}

{else} {include file="header.tpl.html" header=$product_info.name} {/if}

{if $currencies_count ne 0}{if $product_info.Price <= 0}{$smarty.const.STRING_NOPRODUCT_IN}{else}{$product_info.PriceWithUnit}{/if}{/if}
{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}
{/if}{/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 ) } {if !$printable_version}
| {$smarty.const.ADD_TO_CART_STRING}
{/if}{/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 !$printable_version}
| {$smarty.const.ADD_TO_CART_STRING}
{/if} {/if} {else} {if $smarty.const.CONF_SHOW_ADD2CART eq 1 && ( $smarty.const.CONF_CHECKSTOCK==0 || $product_info.in_stock > 0 ) } {if !$printable_version}
| {$smarty.const.ADD_TO_CART_STRING}
{/if} {/if} {/if} {/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} {section name=s loop=$product_extra[i].option_show_times} {/section} {/if} {/section} {if $product_info.allow_products_comparison}
| {$smarty.const.ADD_TO_CFOLDER}
{/if}

{if $smarty.const.CONF_DISPLAY_FOTO eq 1} {if $product_info.thumbnail} {if $product_info.big_picture} {if !$printable_version}{/if}{if !$printable_version}{/if}{* {$smarty.const.ENLARGE_PICTURE} *} {else} {/if} {elseif $product_info.picture} {if $product_info.big_picture} {if !$printable_version}{/if}{if !$printable_version}{/if}{* {$smarty.const.ENLARGE_PICTURE} *} {else} {/if} {else} {if $smarty.const.CONF_DISPLAY_NOPHOTO eq 1} {/if} {/if} {if $all_product_pictures} {section name=i loop=$all_product_pictures} {if $all_product_pictures[i][3]} {if !$printable_version}{/if}{if !$printable_version}{/if}{* {$smarty.const.ENLARGE_PICTURE} *} {else} {/if} {/section} {/if} {/if} | {if $product_info.customer_votes > 0 && $smarty.const.CONF_USE_RATING eq 1}
{section name=i loop=5} {if $smarty.section.i.index<$product_info.customers_rating} {else} {/if} {/section}
{/if} {if !$printable_version && $smarty.const.CONF_USE_RATING eq 1} {literal} {/literal}
{$smarty.const.STRING_PR_DOIT}: | {$smarty.const.STRING_PR_1} {$smarty.const.STRING_PR_2} {$smarty.const.STRING_PR_3} {$smarty.const.STRING_PR_4} {$smarty.const.STRING_PR_5}
{/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 == '1'}{$product_info.in_stock}{else}{$smarty.const.ANSWER_YES}{/if}{else}{if $product_info.in_stock < 0}{$smarty.const.STOCK_TRAIN_GO}{else}{$smarty.const.ANSWER_NO}{/if}{/if} {assign var="otstup" value=1}{/if} {if $currencies_count ne 0} {if $product_info.shipping_freightUC}{$smarty.const.ADMIN_SHIPPING_FREIGHT}: {$product_info.shipping_freightUC} {assign var="otstup" value=1}{/if} {/if} {if $product_info.min_order_amount > 1} {$smarty.const.STRING_MIN_ORDER_AMOUNT}: {$product_info.min_order_amount}{$smarty.const.STRING_ITEM} {assign var="otstup" value=1} {/if} {if $smarty.const.CONF_DISPLAY_PRCODE eq 1} {if $product_info.product_code} {$smarty.const.STRING_PRODUCT_CODE}: {$product_info.product_code} {assign var="otstup" value=1} {/if} {/if} {if $otstup eq 1} {/if} {counter name='select_counter' start=0 skip=1 print=false assign='select_counter_var'} {section name=i loop=$product_extra} {if $product_extra[i].option_type eq 0 } {$product_extra[i].name}: {$product_extra[i].option_value} {else} {counter name='option_show_times' start=0 skip=1 print=false} {section name=k loop=$product_extra[i].option_show_times} {$product_extra[i].name}{if $product_extra[i].option_show_times > 1 } ({counter name=option_show_times}):{else}:{/if} {counter name=select_counter} {if $product_extra[i].values_to_select_count == 1} {$product_extra[i].values_to_select[0].option_value} {else} {if $smarty.section.k.index == 0} {else} {/if} {/if} {/section} {/if} {/section} {if $select_counter_var != 0} {/if} {if $product_extra_count > 0} {/if} {if $select_counter_var != 0} {literal} {/if} {if $product_info.description}{$product_info.description}{elseif $product_info.brief_description}{$product_info.brief_description}{/if} {if $smarty.const.CONF_DISPLAY_FOTO eq 0} | {if $product_info.thumbnail} {if $product_info.big_picture} {if !$printable_version}{/if}{if !$printable_version}{/if}{* {$smarty.const.ENLARGE_PICTURE} *} {else} {/if} {elseif $product_info.picture} {if $product_info.big_picture} {if !$printable_version}{/if}{if !$printable_version}{/if}{* {$smarty.const.ENLARGE_PICTURE} *} {else} {/if} {else} {if $smarty.const.CONF_DISPLAY_NOPHOTO eq 1} {/if} {/if} {if $all_product_pictures} {section name=i loop=$all_product_pictures} {if $all_product_pictures[i][3]} {if !$printable_version}{/if}{if !$printable_version}{/if}{* {$smarty.const.ENLARGE_PICTURE} *} {else} {/if} {/section} {/if} {/if}

{if !$printable_version}

{$smarty.const.STRING_PRINTABLE_VERSION}

{/if} {if !$printable_version} {if $product_related_number > 0} {include file="header.tpl.html" header=$smarty.const.STRING_RELATED_ITEMS}

{assign var="verifi" value=0} {section name=i loop=$product_related} {if $verifi eq 1} {else}{assign var="verifi" value=1}{/if}
{$product_related[i].name} | {$product_related[i].Price}
{/section}

{/if} {if $smarty.const.CONF_PRODUCT_MAIL eq 1} {include file="header.tpl.html" header=$smarty.const.STRING_FEEDBACK_PRODUCT_HEADER}

{$smarty.const.STRING_FEEDBACK_PRODUCT_DESCRIPTION}

{if $sent eq NULL}

{if $error ne NULL}
{if $error eq 7}{$smarty.const.ERR_WRONG_CCODE}{else}{$smarty.const.FEEDBACK_ERROR_FILL_IN_FORM}{/if}
{/if}
{$smarty.const.FEEDBACK_CUSTOMER_NAME}
{$smarty.const.CUSTOMER_EMAIL}
{$smarty.const.STRING_FEEDBACK_PRODUCT_INQUIRY_EXPLANATION}
{$message_text|replace:"<":"<"}
{if $smarty.const.CONF_ENABLE_CONFIRMATION_CODE eq 1}
{/if}

{$smarty.const.OK_BUTTON3}

{else}

{$smarty.const.FEEDBACK_SENT_SUCCESSFULLY}

{/if} {/if} {if $productslinkscat} {include file="header.tpl.html" header=$smarty.const.STRING_CAT_USE_AUX}

{assign var="verifi" value=0} {section name=iprod loop=$productslinkscat} {if $verifi eq 1} {else}{assign var="verifi" value=1}{/if}{$productslinkscat[iprod][1]} {/section}

{/if} {/if} {/if}