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

{name from=section}

{elseif !empty($category) && !empty($brand)}

{name from=category} {name from=brand}

{elseif !empty($category)}

{name from=category}

{elseif !empty($brand)}

{name from=brand}

{else}

{$title}

{/if} {* *} {if empty($CurrentPage)} {body from=section} {* *} {if !empty($category->description)}
{body from=category}
{/if} {/if} {* *} {if !empty($category)} {if !empty($brands)} {$currentId = $brand->brand_id|default:0} {/if} {/if} {* *} {if empty($CurrentPage)} {if !empty($brand->description)}
{body from=brand}
{/if} {/if} {* *} {if !empty($properties)} {$filter = $smarty.request.filter_property|default:[]} {foreach $properties as $item} {if !empty($item->enabled)} {$id = $item->property_id} {$param = "filter_property[$id]"} {requestUri except="$param*" nopages=TRUE assign=uri} {/if} {/foreach}
{name}: Все {if !empty($item->options)} {$uri = (preg_match('/\?/u', $uri)) ? ($uri|cat:'&') : ($uri|cat:'?')} {foreach $item->options as $o} {$value = $o->value} {**} {**} count)} data-empty{/if}> {$value} {/foreach} {/if}
{/if} {* *} {if !empty($products) && count($products) > 1} {if !empty($sort_modes)} {$currentId = intval($sort_method|default:0)} {$myModes = [0, 1, 6]}
Сортировать по {**} {**} {foreach $sort_modes as $id => $name} {if in_array($id, $myModes)} {**} {**} {$name} {/if} {/foreach}
{/if} {/if}
{* *}
{if !empty($products)}
{pagination} {else}

Товары не найдены

{/if}
{/strip}