Forums Forums Search & Filter Pro How to hide 0 count ? but not using Hide empty terms.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Trevor
    #217165

    I would need to ask the plugin developer if that is possible using CSS, or, if not, it might have to be JavaScript.

    Before I do that, have you tested using Hide Empty (and thus Auto Count must also be ON, both settings) and could you explain in more detail what goes wrong in using those, as I don’t understand.

    Anonymous
    #217224

    Thank you so much for your support.

    The details is as below.

    “Auto Count is ON”

    No.1, Check more than 2 buttons of checkbox.
    No.2, Start search( go to next page) total 5 list are shown
    No.3, Search again(use range function, narrow the range of price) total 1 list is shown
    –> then some checked buttons are unchecked by Auto count function.
    No.4, Put price range back(widen the range) and Search again.
    –> total 3 are shown( number of list are decreasing because of Auto count function, it should be backed to total 5 list. )

    If I not use Auto count, total 5 list are shown when No.4 stage.(In this case, checked button are kept even if narrow the range of price )

    regards,

    Trevor
    #217242
    This reply has been marked as private.
    Anonymous
    #217281

    My key will expire on August 11 2019, please check it again.

    Trevor
    #217287
    This reply has been marked as private.
    Anonymous
    #217311

    I understand. Please check again.

    I would like to hide 0 count.

    https://sukusho.nu/7kJ6

    8q8k

    But I do not want to use “Hide empty terms” option in setting.

    https://sukusho.nu/7kKv

    s579

    The details is as below.

    “In case Auto Count is ON”

    No.1, Check more than 2 buttons of checkbox.
    No.2, Start search( go to next page) total 5 list are shown
    No.3, Search again(use range function, narrow the range of price) total 1 list is shown
    –> then some checked buttons are unchecked by Auto count function.
    No.4, Put price range back(widen the range) and Search again.
    –> total 3 are shown( number of list are decreasing because of Auto count function, it should be backed to total 5 list. )

    If I not use Auto count, total 5 list are shown when No.4 stage.(In this case, checked button are kept even if narrow the range of price )

    regards,

    Trevor
    #217325

    Is this what you are looking for:

    .searchandfilter ul li[data-sf-count="0"] {
      display: none;
    }
    Anonymous
    #217371

    Thank you so much for your kind support.

    This is exactly the things that I was looking for.

    I appreciate your support.

    Regards,

Viewing 8 posts - 1 through 8 (of 8 total)