Forums Forums Search & Filter Pro Enable Auto Count isn’t work

Viewing 10 posts - 11 through 20 (of 20 total)
  • Anonymous
    #266348
    This reply has been marked as private.
    Trevor
    #266350

    You mean you don’t want to see child terms, only parent terms?

    Anonymous
    #266351
    This reply has been marked as private.
    Anonymous
    #266355
    This reply has been marked as private.
    Trevor
    #266357

    There are two ways I can think to do this safely.

    One is to use CSS to hide the child terms. If you have set the field to be hierarchical, the child terms will have a different CSS class to the parents.

    Or, you could exclude the terms from the form field in the Advanced settings of the field.

    Anonymous
    #266358

    I set “Tags, Categories & Taxonomies” in Categories and it works, but when I set “Tags, Categories & Taxonomies” in Taxonomies I don’t see results.

    Trevor
    #266362
    This reply has been marked as private.
    Anonymous
    #266367

    How I can hide this subcategory, becouse this second solution doesn’t work (problem with show results), and when I set hierarchical, I can’t see a diffrent between “class” Category and Subcategory to hide in code CSS.

    Anonymous
    #266372

    Ok, now everything what i need works. Thank you 🙂

    Trevor
    #266376

    So, looking at Product Category, this CSS hides the children:

    .searchandfilter[data-sf-form-id="6507"] li.sf-field-taxonomy-product_cat option.sf-level-1 {
      display: none;
    }
Viewing 10 posts - 11 through 20 (of 20 total)