Настройка темы "Shopping"
Все настройки в теме Магазина:
index.html
После {$categoriesmenu = $wa->shop->categories(0, null, true)}
Добавить {if $wa->mylang}{$categoriesmenu = $wa->mylang->categories($categoriesmenu)}{/if}
compare.html.
В начало файла добавьте строки
{if $wa->mylang}{$features = $wa->mylang->features($features)}{/if} {if $wa->mylang}{$products = $wa->mylang->products($products)}{/if}
home.html
После {if $cloud = $wa->shop->tags()}
Добавить {if $wa->mylang}{$cloud = $wa->mylang->tags($cloud)}{/if}
promo.html
после {if $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(3)}
добавить {if $wa->mylang}{$upselling = $wa->mylang->products($upselling)}{/if}
После {$crossselling = $product->crossSelling(4)}
Добавить {if $wa->mylang}{$crossselling = $wa->mylang->products($crossselling)}{/if}
0 комментариев