Forums Forums Search & Filter Pro Filter by category and sub-categories…

Viewing 10 posts - 1 through 10 (of 12 total)
  • Trevor
    #158920

    The simplest way I can think of is to add a custom field (maybe with ACF) that simply shows for sale or not, and then add this to the Post Meta conditions. If you have a lot of posts already, this would be time consuming.

    Anonymous
    #158942

    That is an interesting idea, I could even pre-populate the ACF field based on the prod_cat, that would indeed solve the problem for removing all other products that are not under the category.

    But still, do you think if is there anything we could do about keeping the category hierarchy on the filter form? It seems that the plugin just do not care about that when generating the form and I could not find any option for that in the settings page.

    Trevor
    #158973

    Where are you trying to keep the hierarchy? In a field on the form? Are you able to show me?

    Anonymous
    #159375

    The idea is something like this:
    https://i.imgur.com/bLdSYWm.jpg

    Then load the selected categories on the main container.

    Trevor
    #159383

    Are you able to send me a live link/URL to your search page with the checkboxes option (with hierarchical set) is on the field in question, so I can take a look?

    Anonymous
    #159665
    This reply has been marked as private.
    Trevor
    #159668

    Is S&F on that page? If not, can you put it there with checkboxes (with the hierarchical option ON)?

    Anonymous
    #159683
    This reply has been marked as private.
    Trevor
    #159685
    This reply has been marked as private.
    Anonymous
    #159858
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 12 total)