Store Locator Plus® for WordPress › Forums › Store Locator Plus › Search result outside country
- This topic has 11 replies, 2 voices, and was last updated 5 years, 10 months ago by Cici.
-
AuthorPosts
-
January 8, 2019 at 12:47 PM #58312dev6Participant
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?
January 8, 2019 at 12:51 PM #58313CiciKeymasterPlease 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
January 14, 2019 at 11:53 AM #58369dev6ParticipantHi,
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.
January 14, 2019 at 12:21 PM #58372CiciKeymasterI 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.
January 17, 2019 at 7:23 AM #58393dev6ParticipantHi,
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)
January 17, 2019 at 4:43 PM #58401CiciKeymasterUnfortunately 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)
c 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.
February 1, 2019 at 10:17 AM #58602dev6ParticipantHi,
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?February 1, 2019 at 2:10 PM #58609CiciKeymasterI 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
February 6, 2019 at 11:49 AM #58632dev6ParticipantHi,
I’ve attached a screenshot of our site’s SLP plugin environment.
Attachments:
You must be logged in to view attached files.February 6, 2019 at 1:26 PM #58635CiciKeymasterThank 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
February 14, 2019 at 8:25 AM #58750dev6ParticipantHi,
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.?
February 15, 2019 at 3:53 PM #58764CiciKeymasterThere 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.
-
AuthorPosts
- You must be logged in to reply to this topic.