{* *}{strip} {* *} {if !empty($item)} {discountPrice signed=FALSE assign=price} {$price = ceil($price)} {$variant = reset($item->variants)} {* *} {findImage type=product view='*' assign=image} {if !empty($config->demo)} {$number = ($number|default:1 - 1) % 10 + 1} {$image['thumb'] = $theme|cat:'images/demo/product-'|cat:$number|cat:'.jpg'} {/if} {* *}
{if !empty($item->hit)}

Хит продаж

{elseif !empty($item->newest)}

Новинка

{elseif !empty($item->actional)}

Лучшая цена

{elseif $helper->hasDiscount($item)}

Лучшая цена

{/if} {* *}
{$image['alt']}
{* *}

{name}

{* *}
{* *} {if !empty($item->awaited)}

Ожидается {echoVar from='item->coming_date'}

{elseif $variant->stock > 0}

Eсть в наличии

{else}

Нет в наличии

{/if} {* *} {if !empty($item->properties_tree)} {$number = 5} {foreach $item->properties_tree as $prop} {if !empty($prop)} {$first = array_shift($prop)} {if !empty($first->in_product) && !empty($first->name)} {$dummy = array_unshift($prop, $first)} {* *}

{echoVar from='first->name'}: {**} {* *} {if count($prop) > 1} {$separator = ''} {foreach $prop as $v} {$separator} {$v->value|default:'-'} {$separator = ', '} {/foreach} {else} {$first->value|default:'-'} {/if}

{$number = $number - 1} {if $number < 1} {break} {/if} {/if} {/if} {/foreach} {/if} {* *}

{$price} {sign}

{* *} {if $helper->maybeSale($item)} Купить {/if}
{* *} {if !empty($variant->sku)}

Артикул {$variant->sku}

{elseif !empty($item->pcode)}

Код {$item->pcode}

{/if} {* *}

{$price} {sign}

{* *}

{annotation assign=value} {plainText from=value size=256}

{/if} {/strip}