Support Forums

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Custom order of categories in dropdown

Viewing 3 posts - 1 through 3 (of 3 total)
  • Miriam Brückner
    #234665

    I use SFP in my WooCommerce Store to filter products by category.
    1) Is there a way to reorder the categories in the dropdown?
    2) And a way to not show one of the categories (other than just setting it to display:none via css)?
    3) Furthermore: Is it possible to only display the “reset form”-button, when there is anything chosen?

    Miriam Brückner
    #234666

    Trevor Moderator
    #234705

    I am not sure that #3 is possible, but 1 and 2 are possible. Taking the easier one first, #2.

    In the field settings in the Form UI, there as an Advanced link/section where you can deselect the Sync with Setting checkbox and then specify terms to exclude.

    As to #1, this would require some custom PHP coding on your part, using this filter:

    https://searchandfilter.com/documentation/action-filter-reference/#filter-input-object

    You would need to use PHP to re-order the array for that field. It might be tricky to get that ‘right’ (as you want it) though.

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

You must be logged in to reply to this topic.