Forums Forums Search & Filter Pro Dropdown with a ACF

Viewing 10 posts - 1 through 10 (of 17 total)
  • Anonymous
    #46385

    Hi, I want to have a dropdown that filters the city where the products are. So every product hace a ACF that I check with a city. How do I use that information to do a dropdown that list the cities and filter the product with them?

    Trevor
    #46391

    The dropdown is a Meta Field in the form design. You chose the type of control as a select.

    Anonymous
    #46392

    Yes I did that but it only displays ranges, not the cities.

    Trevor
    #46414

    Can I see the form? A live URL?

    Anonymous
    #46416
    This reply has been marked as private.
    Trevor
    #46418

    It must be the way the form fields are setup. It is late here. Do I have your admin logins? I will look in the morning.

    Anonymous
    #46486
    This reply has been marked as private.
    Anonymous
    #46487

    Also the plugin gives me this:
    search-filter-build.min.js?ver=2.1.2:1 Uncaught TypeError: t(…).searchAndFilter is not a function

    Trevor
    #46488

    That means that jQuery is being loaded more than once by your theme or another plugin. Themes and plugins should not load jQuery as it is loaded by WordPress, but some still do it anyway. That will stop js from working properly and needs fixing as a priority. I see this in the page code:

    <!-- Jquery 1.11.3  -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    Anonymous
    #46496

    Okay, I fixed that, now I need to solve the other problem 🙁

Viewing 10 posts - 1 through 10 (of 17 total)