{* *}{strip} {if !empty($product)}
{* *}
Главная {**} » {**} Каталог {if !empty($category->path)} {foreach $category->path as $item} {**} » {**} {name} {/foreach} {if !empty($brand)} {**} » {**} {name from=brand} {/if} {/if} {**} » {**} {name from=product}
{* *}

{name from=product}

{$title = $product->meta_title|default:$product->model scope=global}
{* *} {findImage from=product type=product view='*' assign=image} {* *} {$mod = 'mod-demo-image.htm'} {if $emulator->existsModule($mod)} {include "$mod"} {/if} {* *}
{* *} {if count($product->images) > 1}
{$number = 2} {section name=images loop=1000} {* *} {findImage from=product type=product num=$number view='*' assign=image} {if empty($image.found)} {break} {/if} {* *} {$mod = 'mod-demo-image.htm'} {if $emulator->existsModule($mod)} {include "$mod"} {/if} {* *} {$image.alt|escape} {$number = $number + 1} {/section}
{/if}
{* *}
{annotation from=product} {* *} {if !empty($product->variants)} {$checked = 'checked'} {$price = 0} {$final = 0}
{$number = 1} {foreach $product->variants as $item} {if $helper->maybeSale($product, $number)}
{$checked = ''} {/if} {$number = $number + 1} {/foreach} {* *} {if empty($checked)} {else}

Нет в наличии

{/if}
{else}

Нет в наличии

{/if}
{* *}
{if !empty($prev_product)} « {name from=prev_product} {**} {**} {/if} {if !empty($next_product)} {name from=next_product} » {/if}
{* *} {if !empty($product->commented) && (!empty($error) || !empty($message))} {$class1 = ''} {$class2 = 'class="active"'} {else} {$class1 = 'class="active"'} {$class2 = ''} {/if}
{* *}
{body from=product}
{* *} {if !empty($product->properties_tree)}
{/if} {* *} {if !empty($product->commented)}
{if !empty($comments)}
    {function listComments} {foreach $items as $item} {$id = $item->comment_id}
  • {inputValue from='item->name'} {date item=$item->date time=TRUE}
    {$item->comment|default:''|escape|nl2br} {if !empty($item->discussion)}
      {listComments items=$item->discussion}
    {/if}
  • {/foreach} {/function} {listComments items=$comments}
{else}
Пока нет отзывов.
{/if} {* *}
{if !empty($error)}
{$error}
{elseif !empty($message)}
{$message}
{/if}


{* *} {* *}
{/if}
{* *} {if !empty($mores)}
Так же советуем посмотреть
{/if} {* *} {else} {include 'missing_template.htm'} {/if} {/strip}