Настройка темы "Supreme"

Флажки.

index.topnav.html

после

<div class="auth_menu">
<ul class="menu">

Добавить {if $wa->mylang}{$wa->mylang->selectorFlags()}{/if}

Для Shop-Script 8 вносить дальнейшие изменения не требуется.


Все изменения в теме для Магазина:

index.html

после {$categories = $wa->shop->categories(0, null, true, true)}
добавить {if $wa->mylang}{$categories = $wa->mylang->categories($categories)}{/if}

compare.html
В начало файла добавьте строки

{if $wa->mylang}{$features = $wa->mylang->features($features)}{/if}
{if $wa->mylang}{$products = $wa->mylang->products($products)}{/if}

home.html

после {$home_categories_all = $wa->shop->categories(0, null, true, true)}
добавить {if $wa->mylang}{$home_categories_all = $wa->mylang->categories($home_categories_all)}{/if}

banner.html
после {$promocards = $wa->shop->promos()}
Добавить {if $wa->mylang}{$promocards = $wa->mylang->promos($promocards)}{/if}

product.html

В самом начале добавить {if $wa->mylang}{$stocks = $wa->mylang->stocks($stocks)}{/if}

После
{$upselling = $product->upSelling(12)}
{$crossselling = $product->crossSelling(12)}

добавить
{if $wa->mylang}
{$upselling = $wa->mylang->products($upselling)}
{$crossselling = $wa->mylang->products($crossselling)}
{/if}

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

4 комментария

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

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