Настройка темы 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}

Опубликовано: 15 июля 2019
Admin поддержка
Эта статья была полезна? Да Нет

0 комментариев

    Добавить комментарий

    Чтобы добавить комментарий, зарегистрируйтесь или войдите