Jump to content

How to hide "category-description" when any filters in faceted search applied?


Tomi14

Recommended Posts

  • Tomi14 changed the title to How to hide "category-description" when any filters in faceted search applied?

 

Ok now I understand.

I had a similar problem.

If you have the knowledge to do this I recommend that you edit the specific tpl file.

Do you have the default prestashop theme or have you bought another one?

Once you have found the file you should move the html section that contains the category description next to the footer.

 

This way the description is always visible, but at first glance you don't see it.

 

Daniele

Link to comment
Share on other sites

  • 1 year later...

 

 

The code below works, but it shows up after refreshing the page. It doesn't work with Ajax 

help me

$(document).ready(function(){
       if ($(".active-filter-title").html().length > 0) {
         $('.card').hide();
       }
       else
       {
         $('.card').show();
       }
     });

 

Edited by tym (see edit history)
Link to comment
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
×
×
  • Create New...