Store Locator Plus® for WordPress Forums Store Locator Plus Search result outside country

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #58312
    dev6
    Participant

    URL: https://www.sloggers.com.au/store-finder

    We have set the map to maps.google.com.au

    Center Map At: Australia

    When tried to do a zip search “3101” or other zip codes, the search result opens a U.S. map. How can we add a notice that if there is no store found it will give a notice?

     

     

    #58313
    Cici
    Keymaster

    Please refer to the posting guidelines and provide plugin environment.

     

    There are  features  available with experience add-on you can add shortcodes or append Australia or discrete search or auto complete

     

     

    #58369
    dev6
    Participant

    Hi,

    The search feature however is not working properly, it does not search by postal code and also it doesn’t show the no active store location message.

    #58372
    Cici
    Keymaster

    I have no idea what exactly you mean but you have errors and warnings and it is stopping the GET function>

    Mixed Content: The page at ‘https://www.sloggers.com.au/store-finder/’ was loaded over HTTPS, but requested an insecure favicon ‘http://sloggers.wpengine.com/wp-content/uploads/2015/03/favicon.jpg’. This request has been blocked; the content must be served over HTTPS.

    #58393
    dev6
    Participant

    Hi,

    The search feature for the plugin is not working to search listed locations, it’s just working as a plain Google map where you can try to search any place and it will return with Google maps search results.

    Does it have to work that way? In the settings we can set an error message when the search did not get any locations within the added places but it is not working.

    We also have it installed in 2 other sites we have and had the same issue.

    https://www.kroten.com.au/store-finder

    https://www.propetaustralia.com.au/store-finder/

    When you try to search “India” it will return with the map of India (See Screenshot http://prntscr.com/m8efoh)

    #58401
    Cici
    Keymaster

    Unfortunately Google determines  the results,  it doesnt always just search by using the . map domain in SLP) That is not always the case. (Our News article from developer about this)

     Additional info on how the  Search works

    If you have the Experience add-on or Premier subscription you can influence the search and  add the shortcode to append AU or have discrete search .  with Premier we have added search enhancements as a work around , i.e show country guesses etc .

    We have seen this issue in the past with Google searches, especially for   Australia, instead of using the Google AU search engine, Google was using  “international” . The map domain influences the map search but does not restrict it.  MYSLP has data search engine to work around Googles inaccuracies. Many of our WPSLP customers find MYSLP to be a better work around

     

    • This reply was modified 5 years, 11 months ago by Cici.
    #58602
    dev6
    Participant

    Hi,

    We did some tests. If we search for “3101 australia” it displays zero results. Even if the search uses the international Google Maps, there should still be a result. From what we understand, searching for postal/zip codes outside the United States does not work. Try “13001 france”, “102151 russia”.

    1.) Please confirm if zip codes really do not work outside the US.
    2.) When there is no “store” around the searched area, the “no locations found” message should show up https://i.imgur.com/ufccCOh.png. It doesn’t. Why is this?

    #58609
    Cici
    Keymaster

    I revisited the sites . You do not have your site or SLP set up correctly.  Are you asking about the WordPress SLP plugin?  or MYSLP?

    Provide a screenshot of your SLP plugin environment as requested in posting guidelines and explained here.

    https://docs.storelocatorplus.com/blog/store-locator-plus-info-plug-environment/

    Without your plugin environment I cannot help you.

    Both of your sites shows  the url to the source map doesn’t exist.You can see the issue using any browser dev tools and see the error

    Source map error: request failed with status 404 Resource URL: https://3v718p3kg0df2fduqn2yrgeg-wpengine.netdna-ssl.com/wp-content/plugins/store-locator-le/css/twentyfifteen_rev03.css

     

    #58632
    dev6
    Participant

    Hi,

    I’ve attached a screenshot of our  site’s SLP plugin environment.

     

     

    Attachments:
    You must be logged in to view attached files.
    #58635
    Cici
    Keymaster

    Thank you. This is a question for Google support. Now that everyone who has their own MAPS Javascript API key has to pay Google they offer support. Not sure how useful the support will be but you can ask them why and what domain to use.  I do not see any results being displayed under your map when it loads, do you have results Show locations checked off, or  disabled until search?

     

    on my site, I have Experience add on and use the shortcode append search  for my Australia Map. And that resolves the issue. Without the append or shortcode with the country region then you are at the mercy of Google. it is not a failure of SLP.

    If you want better results we could suggest using MYSLP.  

    With MYSLP you merely embed a script, you do not need to worry about the Google APIs.

     

    Please review the documentation for information. I think you are confusing the no results found, and the various settings.

    Looking at your site,  You have chosen not to show any results when the page loads,  If you believe the search is the issue, try these troubleshooting suggestions to see if you have a conflict with abother plugin, javascript or theme

    https://docs.storelocatorplus.com/blog/q-i-see-a-gray-map-or-blank-map-and-search-does-not-work/

    it appears on that site that you do not wish to have any results showing, or your theme is overriding some of the elements. I would try changing your theme etc on a staging site and see if you are still having all these issues.

    as far as No results found, In your results setting   what do you have for settings under: AFTER SEARCH Number To Show?

    I am afraid I have run out of suggestions and cannot replicate the exact issue that you are seeing. So the best thing would be for you to try some of the troubleshooting suggestions

     

    #58750
    dev6
    Participant

    Hi,

    We have the “Show Locations” enabled in the settings http://prntscr.com/ml12jb

    I do see the added locations upon startup http://prntscr.com/ml14so

    Also checked if there are any JS errors and there isn’t any issues that is related to the plugin, except for the FB pixel http://prntscr.com/ml15s5

    We are also using the latest version of PHP which is 7.2

    For the after search, we have set it to default which is 25 http://prntscr.com/ml17jp

    The problem we are having is really the search result, we want it to restrict it only in Australia. So I guess the only thing to achieve it is by using MYSLP.?

    #58764
    Cici
    Keymaster

    There was a patch in WPSLP to 5.0.4

    There was a geocoder region issue.  Please update to WPSLP 5.0.4 and check back to see if you now get correct results.

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