• Resolved trevasco

    (@trevasco)


    I have a form in the main navigation and homepage where users will enter their zip code, and it gets passed to the results page in the start_location option for the shortcode. I have the default search radius set to 25mi in the settings page. If all of the stores are in California for example, and I enter a zip code that’s in Kansas, it still returns all of the locations rather than displaying the “no results found” message. Is it possible to make these settings work together?

    • This topic was modified 5 years, 6 months ago by trevasco.
    • This topic was modified 5 years, 6 months ago by trevasco.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    What’s the URL?

    Thread Starter trevasco

    (@trevasco)

    Is there an email I can send you it directly? I can’t share it publicly at this time.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    If you send it through the support form here, then I will get it.

    Thread Starter trevasco

    (@trevasco)

    Ok, thanks. I’ve sent it.

    Thread Starter trevasco

    (@trevasco)

    Thanks Tijmen for the help.

    For anyone else that is looking for a solution to this, you can disable the autoload setting in the admin, and use trigger() / dispatchEvent() on the submit button to simulate a click and submit the form after the page has loaded and the parameter value is passed into the search field.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Start Location and default Search Radius not working together’ is closed to new replies.