Настройка темы "Readyshop"
В теме для Сайта:
header.categories.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}homepage.categories.html
после {$categories = $wa->shop->categories(0, null, true, true)}
добавить {if $wa->mylang}{$categories = $wa->mylang->categories($categories)}{/if}
home.html
после {$promocards = $wa->shop->promos()|array_values}
добавить {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}
{$crossselling = $wa->mylang->products($crossselling)}
{$upselling = $wa->mylang->products($upselling)}
{/if}
sidebar.categories.html
после {$categories = $wa->shop->categories(0, null, true, true)}
{if $wa->mylang}{$categories = $wa->mylang->categories($categories)}{/if}
sidebar.tags.html
после {$tagcloud = $wa->shop->tags()}
Добавить {if $wa->mylang}{$tagcloud = $wa->mylang->tags($tagcloud)}{/if}
Проверено для темы версии 1.0
0 комментариев