• Now, this is very embarrassing. Similar questions have probably been asked many times before. Having said this, it’s sad to say, but the search does not show any results.

    I have the plugin running on another side with no problems at all. It’s pretty much the same server, same PHP version, same standard configuration.

    This is what I tried:

    – disabled all other plugins
    – changed the theme to Twenty24
    – no cache enabled
    – force ZIP search only not enabled
    – store locator transients cache cleared
    – API keys verified
    – JS does not show errors
    – tested with a new store with coordinates from the preview box

    I have absolutely no idea what’s going on. Any help would be very much appreciated.

    Thank you very much!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, thanks for writing.

    Well, it is difficult for me to know exactly what is going on without taking an actual look at the website, so if you could please share with us the URL where you have published the store locator, that would be helpful. If you are concerned because you don’t want to disclose the URL publicly, you can also open a private support ticket with us, and we can ask you for more details there.

    Best regards!

    Thread Starter cutu234

    (@cutu234)

    I have to thank YOU! I do understand that this is a lot to ask. I don’t do it lightly, but I have no idea what’s going on.

    Now, this was bad luck. For test purposes, I picked a ZIP code that does NOT work. Please, check for yourself:

    https://www.relaunch.akustiker.at/store-locator/

    The ZIP code 4470 works and even locations with the ZIP code 4400 like:

    Hartlauer HandelsgesmbH
    Stadtplatz 6
    4400 Steyr

    However, searching for ZIP code 4400 does not work. I am completely lost.

    Hi again,

    Well, here is what you can try. Sometimes searching by postcode can have unexpected results depending on how you have set up certain settings in the plugin. For example, if all of your locations are in Austria, then you may want to ENABLE the checkbox labeled “Restrict the geocoding results to the selected map region?”. This will help with postcode disambiguation, since Google Maps only has to search for postcodes in a single country. The postcode “4400” can overlap with postcodes in other countries, so Google Maps does not know exactly where to look for.

    Please try that setting first, and let us know if that fixes your issue.
    Best regards,

    Thread Starter cutu234

    (@cutu234)

    Yikes! This solves the problem in this case. Thank you very much! But what would I do, if I would need, say, Austria, Germany and Switzerland? Restricting the results to the map region would not work.

    Thank you!

    farroyo

    (@farroyob)

    Well, in case you need to show locations from multiple countries and you have to enable “search by zipcode only”, then it can happen that some postal codes in nearby countries may overlap. This is a situation that has to be analyzed in each case, because I am not familiar with the postcodes from Austria, Germany and Switzerland. Are all of them very similar, so that they probably overlap?

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.