Store Locator Plus® for WordPress › Forums › Store Locator Plus › search not working consistently
- This topic has 1 reply, 2 voices, and was last updated 5 years, 10 months ago by Cici.
-
AuthorPosts
-
January 5, 2019 at 10:23 AM #58279sandmbikesParticipant
The search function on our sites has recently become unreliable. It will always work for just a zip, but will usually fail if you add anything else (street, city, state). However it will work with some city, states, but not others.
For example: zip 28759 works, but Mills River, NC 28759 does not. Several other cities in that area work fine with or without zip code (Asheville, NC, Brevard, NC). Another example is 48842, which works, but Holt, MI 48842 does not work. Lansing, MI works, but E. Lansing, MI does not. 48823 works but E. Lansing, MI 48823 does not work.
With these problem addresses, there are no console errors, just “Google JavaScript API geocoder failed with status ZERO_RESULTS results 0”
January 5, 2019 at 1:45 PM #58282CiciKeymasterPlease read the posting guidelines and provide your plugin environment
what is returned is 100% Google and what they geocode and cache
They (GOOGLE) change the algorithms constantly and what may have worked before they added additional APIS (such as places etc) may not be consistent now that they look at different libraries. I did numerous searches of city names, of zip codes at random and watched the operation ( you can do the same using the browser dev tools and inspect while of the page and performing a search. Every time the GET performed and was green. There is no SLP issue so there is not a lot we can do about what Google returns other then offer suggestions.
With Premier or Experience add-on there are some tricks that can assist your site visitor. You could also add labels in search box or in the no results found instructing your site visitor to search with more info. Or have a drop down box of cities or use discrete search,. See docs sites for Premier search enhancements
P.S. MYSLP is way more accurate since we add a lookup to go find the address from another database before it goes to Google. This also cuts down on the geocoding request and queries to Google (which as you know they now charge for) But since we have no info about your plugin environment I cannot recommend a solution or if MYSLP is the right fir for you.
-
AuthorPosts
- You must be logged in to reply to this topic.