{if $CONFIG.modules.products.avail ne 'Y'} {capture name=product}

{$LABEL.lbl_module_disabled}

{/capture} {include file="_system_/center_block.html" title=$LABEL.lbl_product content=$smarty.capture.product} {elseif $product} {include file="product/product_js.html"} {capture name=product} {if $CONFIG.modules.products_compare.avail eq 'Y'}
{include file="products_compare/compare_block.html"}
{/if} {if $prev_prod or $next_prod} {if $prev_prod}
{$prev_prod.caption|truncate:35:"...":true}
{/if} {if $next_prod}
{$next_prod.caption|truncate:35:"...":true}
{/if}
{/if}
{if $product.img}
{$LABEL.link_enlarge}
{/if} {strip}
{if $product.img}{/if} {if $product.img} {$product.alt|replace:' {else} {$product.alt|replace:' {/if} {if $product.img}{/if}
{/strip}
{if $CONFIG.settings.prices_for_only_registered eq 'on' && !$smarty.session.customer_info.id} {include file="_system_/helptip.html" id="product-`$product.id`-price" text=$LABEL.tip_prices_for_only_registered label="`$LABEL.lbl_price`"} {else} {if $CONFIG.settings.prices_same_font_size eq 'on'} {$product.$PRODUCT_PRICE_FIELD} {else} {strip} {if $SHOP_CURRENCY.left_side eq 'Y'}{$SHOP_CURRENCY.short_name}{/if} {$product.price_int}{if $product.price_fract}{$product.price_fract}{/if} {if $SHOP_CURRENCY.left_side ne 'Y'}{$SHOP_CURRENCY.short_name}{/if} {/strip} {/if} {/if}

{if $product.egood eq 'Y'} ({$LABEL.lbl_this_is_egood}) {/if} {$product.caption}

{if $CONFIG.modules.discussions.avail eq 'Y'}
{math equation="round(r * 4)" r=$product.rating|default:0 assign=rated_index} {section name=rating loop=21 start=1} {/section}
{/if} {if $CONFIG.settings.prices_for_only_registered ne 'on' or $smarty.session.customer_info.id} {if $product.$PRODUCT_PREV_PRICE_FIELD and (not $product.options or $CONFIG.modules.prod_options.avail ne 'Y')}
{$LABEL.lbl_old_price}:  {$product.$PRODUCT_PREV_PRICE_FIELD}
{/if} {/if} {if $product.manuf_caption and $CONFIG.modules.manufacturers.avail eq 'Y'} {/if} {if $prod_pics} {/if} {if $product.options and $CONFIG.modules.prod_options.avail eq 'Y'} {foreach from=$product.options item=option} {/foreach} {/if} {if $product.tax_value}

{$LABEL.lbl_price_with_tax}

{/if}
{if $CONFIG.settings.send_to_friend_enabled eq 'on'} {/if} {if $CONFIG.modules.wishlist.avail eq 'Y'} {/if} {if $product.egood eq 'Y' and $product.is_free eq 'Y' and $CONFIG.settings.free_egoods_allowed eq 'on' and $product.egood_pins ne 'Y'} {/if} {if $product.unit}
{$LABEL.lbl_unit}:  {$product.unit}
{/if}

{if $kupivkredit_is_active}

{$LABEL.lbl_vkredit}

{/if}
{if $product.variants and $product.options and $CONFIG.modules.prod_options.avail eq 'Y'}
{/if}
{include file="_system_/social_bookmarks.html" label=true} {if $CONFIG.modules.products_compare.avail eq 'Y'}

{/if} {if $product.descr or $product.short_descr}
{if $product.descr} {$product.descr} {else} {if $CONFIG.settings.prod_allow_html_short_descr eq 'on'} {$product.short_descr|close_tags} {else} {$product.short_descr|nl2br} {/if} {/if}
{/if} {if $product_tags}

{$LABEL.lbl_tags_cloud}: {foreach from=$product_tags item=product_tag name=product_tags} {$product_tag.name}{if not $smarty.foreach.product_tags.last},{/if} {/foreach}

{/if} {if $details} {include file="product/details.html"} {/if} {if $attachments} {include file="product/attachments.html"} {/if} {if $CONFIG.modules.recommended_products.avail eq 'Y' and $recommended_products} {include file="product/recommended.html"} {/if} {if $CONFIG.modules.related_products.avail eq 'Y' and $related_products} {include file="product/related.html"} {/if} {if $CONFIG.modules.articles.avail eq 'Y' and $product_articles} {include file="product/articles.html"} {/if} {if $prod_pics} {include file="product/pictures.html"} {/if} {if $CONFIG.modules.discussions.avail eq 'Y'} {include file="product/discussions.html"} {/if} {include file="product/send_to_friend.html"} {if $CONFIG.modules.maybe3d.avail eq 'Y'} {include file="product/maybe3d.html"} {/if} {/capture} {include file="_system_/center_block.html" title=$product.caption content=$smarty.capture.product id="product-details"} {/if}