{* *}{strip} {* *} {echoVar from='config->colorStyle' assign=colorStylePath} {if $colorStylePath != ''} {$colorStylePath = 'restyle-'|cat:($colorStylePath|escape)|cat:'/'} {/if} {* *} {if !empty($item)} {$model = $item->model|default:'Без названия!'} {$alt = $model|escape} {* *} {$pid = $item->product_id|default:''|escape} {$vid = $item->variants[0]->variant_id|default:''|escape} {* *} {$exist = $item->variants[0]->stock|default:0 > 0} {* *} {$old = ''} {$discounted = $helper->hasDiscount($item, 1, $old)} {* *} {$maxsize_name = $maxsize_name|default:100|string_format:'%d'} {$maxsize_name = ($maxsize_name >= 1) ? $maxsize_name : 100} {* *} {$maxsize_descr = $maxsize_descr|default:250|string_format:'%d'} {$maxsize_descr = ($maxsize_descr >= 1) ? $maxsize_descr : 250}
  • {* *} {* *}
    {* *} {if !empty($item->hit)} Хит {/if} {* *} {if !empty($item->newest)} Новинка {/if} {* *} {if !empty($item->actional) || !empty($discounted)} Акция {/if} {* *} {if !empty($item->awaited)} Скоро {/if} {* *} {if $exist} Товар есть {else} Товара нет {/if}
    {* *} {if !empty($item->pcode)}
    {$item->pcode}
    {/if} {* *} {$admintools = ($smarty.session.admin|default:'' == 'admin') ? ('tooltip="product" product_id="'|cat:$pid|cat:'"') : ''}

    {$model|truncate:$maxsize_name:'...':true}

    {* *} {$description = ($item->description|default:''|strip_tags)|default:($item->body|default:''|strip_tags)} {$marker = '{'} {if empty($description)} {$description = ($item->brand|default:'' != '') ? ('Бренд: '|cat:$item->brand|cat:$marker) : ''} {$description = ($item->category|default:$item->category_plural|default:'' != '') ? ($description|cat:'Категория: '|cat:($item->category|default:$item->category_plural)) : ''} {/if} {if !empty($description)}

    {$description|truncate:$maxsize_descr:'...':true|replace:$marker:'
    '}

    {/if} {* *} {include file = 'common/properties.htm'} {* *} {include file = 'common/tags.htm' and_keywords = false} {* *} {include file = 'common/variants.htm'}
    {* *}
    {if !empty($item->variants[0]->sku)}
    Артикул: {$item->variants[0]->sku}
    {/if} {* *} {discountPrice signed=FALSE assign=dprice} {if !empty($item->non_usable)} Экспонат {elseif empty($dprice)} Цена договорная {else} {* *} {if !empty($discounted)} {$old} {sign} {/if} {* *} {$dprice} {sign} {if !$exist} Товара нет {/if} {/if} {* *} {$url = $item->url|default:''|escape}

    {* *} {if empty($item->non_usable)} {if $exist} В корзину {else} Под заказ {/if} {* *} {if !$exist} Уведомить о наличии {/if} {* *} Отложить {* *} Быстрый заказ {/if}
  • {/if} {/strip}