• Resolved joeknife

    (@joeknife)


    Hi,

    I use your plugin to display vendors on my website and I like it a lot. I have checkboxes to filter on attributes of the vendors. It works, but when you select multiple checkboxes I want the vendors that are displayed to have both the values you have selected instead of having one of the values.

    So it should be an AND statement instead of OR.

    Can I change this in the plugin settings or where can I change the PHP code in the plugin directory?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support bobbied

    (@bobbied)

    Hi @joeknife

    Thanks for your patience on this while I was checking with our developer to see if this was possible.

    It looks like it would be possible with this hook that isn’t yet documented: wpbdp_listing_search_parse_request.

    Since this is a common request, we may be able to add an example in the docs to get you started. Is that something that would be helpful for you?

    Thread Starter joeknife

    (@joeknife)

    Hi,
    I already fixed it be changing file query on this file class-listing-search.php on line 143. For $this->query this variable dp you provide any hook so I can rewrite the query you guys have made?

    Plugin Support bobbied

    (@bobbied)

    Hi @joeknife

    Can you please try using this hook: wpbdp_listing_search_parse_request

    Please try that and let me know if you run into more issues.

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

The topic ‘Multiple select’ is closed to new replies.