4443345 Posted March 20, 2016 Report Share Posted March 20, 2016 В каталоге выводится фильтр только по брендам, хотя в Sidebar.tpl прописаны по свойствам, где копать, что это может быть подскажите?{* Фильтр по брендам *}{if $category->brands} <dt>Бренды </dt> <dd> <ol> <li> <a href="catalog/{$category->url}" {if !$brand->id}class="selected"{/if}>Все бренды</a> </li> {foreach name=brands item=b from=$category->brands} <li> <a data-brand="{$b->id}" href="catalog/{$category->url}/{$b->url}" {if $b->id == $brand->id}class="selected"{/if}>{$b->name|escape}</a> </li> {/foreach} </ol> </dd> {/if} {* Фильтр по свойствам *}{if $features} {foreach $features as $f} <dt data-feature="{$f->id}">{$f->name} </dt> <dd> <ol> <li> <a href="{url params=[$f->id=>null, page=>null]}" {if !$smarty.get.$f@key}class="selected"{/if}>Все</a> </li> {foreach $f->options as $o} <li> <a href="{url params=[$f->id=>$o->value, page=>null]}" {if $smarty.get.$f@key == $o->value}class="selected"{/if}>{$o->value|escape}</a> </li> {/foreach} </ol> </dd> {/foreach} {/if} </dl> <script type="text/javascript">decorateDataList('narrow-by-list')</script> </div> </div></div>{/if} Quote Link to post Share on other sites
Noxter Posted March 20, 2016 Report Share Posted March 20, 2016 Так не честно Quote Link to post Share on other sites
Kosjak76 Posted March 20, 2016 Report Share Posted March 20, 2016 Хватит срать! Quote Link to post Share on other sites
simplashop Posted April 6, 2016 Report Share Posted April 6, 2016 (edited) Свойства для отображения в фильтре, для этой категории выставлены, в товарах прописаны?Очень частые ошибки Edited April 6, 2016 by simplashop Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.