stobi_de Posted February 14, 2018 Share Posted February 14, 2018 (edited) Hello, sorry for asking this question again. I wrote it in the german forum, but nobody seems to have an idea.https://www.prestashop.com/forums/topic/663944-filter-nicht-auf-startseite-anzeigen/ Here are the first steps for a small shop. http://aruba-safaris.com/shop/index.php?id_category=2&controller=category I build it with 1.7.2.4 You see, that there is a complete useless filter shown. I got an answer in the german forum, that this is a mistake in the version 1.7. The filter-settings are OK, but the empty filter-box is shown. My idea was to remove this filter-box in the tpl-file. But I can't identify the tpl. Somebody here who knows something about that? Frank Edited February 14, 2018 by stobi_de (see edit history) Link to comment Share on other sites More sharing options...
TinyStore Posted February 14, 2018 Share Posted February 14, 2018 The filter box is here: prestashop/themes/classic/templates/catalog/_partials/facets.tpl Link to comment Share on other sites More sharing options...
stobi_de Posted February 14, 2018 Author Share Posted February 14, 2018 I know that, but I need the position, where the filter is loaded to the start-page. Only on that page this filter is useless. In the sub-categories I need it. If I delete the filter in the facets.tpl, I delete the filter everywhere. Frank Link to comment Share on other sites More sharing options...
musicmaster Posted February 14, 2018 Share Posted February 14, 2018 Can't you make facets.tpl conditional by making it conditional. So you get at the start something {if $category->id != 23} And at the end {/if} If write this from the top of my head so my syntax is likely wrong. But I hope you get the idea. Link to comment Share on other sites More sharing options...
stobi_de Posted February 14, 2018 Author Share Posted February 14, 2018 Ok, I will take a look tomorrow. The idea is good. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now