Настройка темы Emarket
Для Shop-Script 8 настроек не требуется.
Настройка темы для Shop-Script 7. Привести файл к виду:
partials/tree.html
{$root_category = $wa->shop->category($path|@end)} {if $wa->mylang}{$root_category = $wa->mylang->categories($root_category)}{/if}
{$categories = $wa->shop->categories({$path|@end}, null, true)} {if $wa->mylang}{$categories = $wa->mylang->categories($categories)}{/if} {if $root_category and $categories and not $theme_settings.sidebar_categories_all}
{$items=$wa->shop->categories({$path|@end}, null, true)} {if $wa->mylang}{$items = $wa->mylang->categories($items)}{/if} {tree $items}
{$items=$wa->shop->categories(0, null, true)} {if $wa->mylang}{$items = $wa->mylang->categories($items)}{/if} {tree $items}
Чтобы добавить комментарий, зарегистрируйтесь или войдите
0 комментариев