Создание новых оболочек Unitheme2

А куда вводить {$content}?
Я сделал как было вами сказано вот здесь = обернул в {if !$products}

{if !$products}
{if $content|trim}
<div class=“ty-mainbox-container clearfix{if isset($hide_wrapper)} cm-hidden-wrapper{/if}{if $hide_wrapper} hidden{/if}{if $details_page} details-page{/if}{if $block.user_class} {$block.user_class}{/if}{if $content_alignment == “RIGHT”} ty-float-right{elseif $content_alignment == “LEFT”} ty-float-left{/if}”>
{if $title || $smarty.capture.title|trim}
{hook name=“wrapper:mainbox_general_title_wrapper”}


{hook name=“wrapper:mainbox_general_title”}
{if $smarty.capture.title|trim}
{$smarty.capture.title nofilter}
{else}
{$title nofilter}
{/if}
{/hook}

{/hook}
{/if}
{$content nofilter}


{/if}
{/if}