en Jump to content
stobi_de

Hide filter on overview page

Recommended Posts

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 by stobi_de

Share this post


Link to post
Share on other sites

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

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More