Setting a default province for searching

Home Forums Store Locator Plus Setting a default province for searching

This topic contains 4 replies, has 3 voices, and was last updated by  Lance Cleveland 2 years, 7 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #21044

    Greg
    Participant

    Our client is asking us if there is a way to set a default province for searching. It appears that people are not putting in the province for the search and as a result Google searches the world. Our clients locations are all in Ontario and one of the cities appears in New Zealand.  The other side of the world.  Is there a way to set the default province for searching?

    #21129

    Greg
    Participant

    Can anyone help, right now the default is set to Canada, and I would like to make that smaller and bring it to just Ontario.

    Any ideas.

     

    #21209

    Catherine
    Participant

    I have had the same issue without resolution. Even, the country default doesn’t even work particularly well.

    #21519

    Lance Cleveland
    Keymaster

    There is not an option to set a default province or state.

    Enhanced Search provides an option to set the “map influence” to either worldwide (default) or “current map”.

    This is nothing more than a suggestion to Google to place more emphasis on addresses and locations that are closer to the current rendered map than higher profile locations in the world.      However this is only a suggestion to the Google Map engine.  If someone types in a very common name such as “London Tower” it will almost always bring up an address in London, UK even if there is a “London Tower Road” in Toronto.

     

    You can read more about how that works here:

    /documentation/store-locator-plus/user-experience/search-form/#search_address_nearest

     

    And how the general search algorithm works for the plugin here:
    /documentation/store-locator-plus/user-experience/search-form/how-slp-search-works/

     

     

    If anyone has suggestions on a feature that may be able to handle this issue please share.   I’ve thought about it a few times and do not have a viable answer that would work for most use cases.

     

    The easy answer, allow a site admin to enter an “always append this to user searches” box. where they could put something in like “Ontario Canada”.    However that causes all kinds of problems when users type in something like “Ontario” which would then come up as “Ontario Ontario Canada”.    You could make it smarter, and infinitely more complex, by having an “only add the text if it does not already appear in the location the user enters” but what about typos or common misspellings?

     

    As for the “country default”, the How Search Works will explain that.   Country default does nothing more than tell Google where the default search address starts (center of the country as defined by Google) if Center Map At has not been set.  Google also uses that setting to determine the default map interface language and which server of theirs to communicate with when processing addresses.    It has very little to do with influencing what happens when users don’t enter addresses as you’d expect.

    You may want to look into Enhanced Search Discrete City, Country, State options as well as the shortcode options for things like the state selector:

    /documentation/store-locator-plus/shortcodes/#state_selector

     

    Combine that along with hiding the address input field and have the location search be based on the user selecting a city or state.  The downside is driving directions from their current location would not function as expected.

     

    I will add an “append the following to all addresses input by a user during search” feature to the Wish List, but I’m concerned about the impact on sites that utilize the feature.

     

    #21520

    Lance Cleveland
    Keymaster

    There is not an option to set a default province or state.

    Enhanced Search provides an option to set the “map influence” to either worldwide (default) or “current map”.

    This is nothing more than a suggestion to Google to place more emphasis on addresses and locations that are closer to the current rendered map than higher profile locations in the world.      However this is only a suggestion to the Google Map engine.  If someone types in a very common name such as “London Tower” it will almost always bring up an address in London, UK even if there is a “London Tower Road” in Toronto.

     

    You can read more about how that works here:

    /documentation/store-locator-plus/user-experience/search-form/#search_address_nearest

     

    And how the general search algorithm works for the plugin here:
    /documentation/store-locator-plus/user-experience/search-form/how-slp-search-works/

     

     

    If anyone has suggestions on a feature that may be able to handle this issue please share.   I’ve thought about it a few times and do not have a viable answer that would work for most use cases.

     

    The easy answer, allow a site admin to enter an “always append this to user searches” box. where they could put something in like “Ontario Canada”.    However that causes all kinds of problems when users type in something like “Ontario” which would then come up as “Ontario Ontario Canada”.    You could make it smarter, and infinitely more complex, by having an “only add the text if it does not already appear in the location the user enters” but what about typos or common misspellings?

     

    As for the “country default”, the How Search Works will explain that.   Country default does nothing more than tell Google where the default search address starts (center of the country as defined by Google) if Center Map At has not been set.  Google also uses that setting to determine the default map interface language and which server of theirs to communicate with when processing addresses.    It has very little to do with influencing what happens when users don’t enter addresses as you’d expect.

    You may want to look into Enhanced Search Discrete City, Country, State options as well as the shortcode options for things like the state selector:

    /documentation/store-locator-plus/shortcodes/#state_selector

     

    Combine that along with hiding the address input field and have the location search be based on the user selecting a city or state.  The downside is driving directions from their current location would not function as expected.

     

    I will add an “append the following to all addresses input by a user during search” feature to the Wish List, but I’m concerned about the impact on sites that utilize the feature.

     

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.