Forum Replies Created

Viewing 15 replies - 16 through 30 (of 694 total)
  • Hi there, thanks for reaching out.

    In order to help you, it would be useful if you could share with us the URL where you have published the store locator, so I can take a look with the browser inspector and find out the cause for the icons not showing when not logged in.

    Many thanks!!

    farroyo

    (@farroyob)

    Hi there, thanks for reaching out.

    Yes, it turns out there is an error in the function that you are sending. The first appearance of the $listing_template varialbe is actually using the “concatenation assignment” operator ( .= ), which requires the variable to be defined first. So please change the following:

    function custom_listing_template() {
    	
        global $wpsl, $wpsl_settings;
        
    $listing_template .= '
    

    to this

    function custom_listing_template() {
    	
        global $wpsl, $wpsl_settings;
        
    $listing_template = '
    

    Please notice the difference, in the first case the operator is “point equals” (.=). In the second case, the operator is just “equals” (=).

    Try that out and get back if that does not do the trick.
    Regards,

    Hi there, thanks for reaching out.

    Regarding the first question: the way the plugin works, it accepts a search term and then you have to hit “search”. Generally speaking, whatever you type in the search box will be sent to Google to try and reverse geocode the search term to obtain a pair of coordinates. So you need to type the whole thing before the plugin sends the data to Google for them to do the reverse geocoding. It is a costly operation and cannot be done on the fly.

    As for your second enquiry, this is more or less the same. The plugin expects you to type a search term, and then hit “search” to perform the search. Reverse geocoding and searching the map, and then matching with the stores locally saved in your WordPress is a costly operation, so it cannot be done “in real time” as you type, sorry about that.

    I hope that helps.
    Regards,

    Hi there Riccardo, thanks for reaching out.

    Yes, what you want is perfectly achievable with our plugin, thanks to its multiple filters and its templating system. You can customize the appearance of the search results using the wpsl_listing_template filter, create your custom address formats, and modify the contents of the info windows in the map with the wpsl_info_window_template filter.

    We do have extensive documentation for our dozens of filters, so have a look and experiment a little bit, and get back if you need help with anything!!

    Regards,

    • This reply was modified 1 month, 2 weeks ago by farroyo.

    Hi again,

    Well, continuing my previous reply, that is also the expected behaviour. When you search for a zipcode, the plugin sends it to Google Maps, and their geocoding service also returns a precise point (latitude, longitude) where Google Maps considers that the “center” of that zipcode is. From there, the plugin searches the database for stores within X radius from that precise point, and this obviously can end up retrieving stores from nearby zipcodes, as the search is strictly distance-based, not zipcode-based.

    Again, we are working on refining the search mechanisms for version 3.0, but right now that is exacty the way the plugin works 🙂

    Please get back if you still find something weird in your results.

    Regards,

    Hi there, thanks for reaching out.

    Actually what you are describing is the normal behaviour of the plugin. The ability to search by the store name you have entered in your backend has never been implemented yet, but we’re working on it for the upcoming 3.0 version.

    The search box only serves the purpose of searching location names or zipcodes, which in turn are sent to the Google Maps reverse geocode API to get a set of coordinates from your search term. These coordinates are used as the start point, and then the plugin retrieves stores from the database that are within X kilometers from that start point, where X depends on your settings or the search radius that you can choose to select from the search form.

    If the search has ever worked apparently as you mention it is by pure luck, because maybe some popular stores are correctly geolocated by Google just by their name, but it actually is not the most common behaviour and it you cannot trust it will work most of the time.

    As I said, proper support for searching by store name will be released alongside the upcoming 3.0 version of our plugin, so stay tuned!

    All the best,

    farroyo

    (@farroyob)

    Hi again.

    The “search by store name” feature is still not included in the current version. It is a feature of the upcoming version 3.0 which is still in the works, so stay tuned!

    Regards,

    farroyo

    (@farroyob)

    Hi there, thanks for writing.

    What do you mean exactly by that? Would you like to return the search results in alphabetic order by “store name”? See this article on how to change the order of the search results and get back if that isn’t what you wanted. You may also be interested in having a featured store that shows up first in the search results, see this article.

    Regards,

    farroyo

    (@farroyob)

    No, unfortunately I cannot give you an estimation on when we will complete the 3.0 version. We are a small team and we focus on releasing a quality product, even if it takes a long time. It is very advanced, though, so I expect it to be available later this year.

    Regards,

    farroyo

    (@farroyob)

    Hi!

    Well, actually the “search by country” feature is not fully developed in the current version of the plugin, let me explain.

    When you search for a country / state name, then this will often fail because of the used search radius. A search will always start from what Google Maps considers the “center” of whatever you search for. So if you search for “Mexico”, then it will look for locations within x km of the center of Mexico, which often fails. This makes searching for countries / states a bad idea, but this will be fixed with the 3.0 update, which will include proper search by country / state name.

    Regards,

    farroyo

    (@farroyob)

    Great, I’m glad it is working now 🙂

    All the best,

    farroyo

    (@farroyob)

    Hi there, thanks for reaching out.

    This is the support forum for Wp Store Locator, but it seems you are not using our plugin in your website. Instead, your store locator seems to be one of our competitors, so please refer to their support service so they can help you with your issue.

    Many thanks!

    Hi there, thanks for writing.

    In Wp Store Locator, store locations are nothing but regular WordPress posts, with a special “post type” to tell them apart from the blog posts. In this regard, each time you add a store location, since it has certain properties (address, zipcode, etc, which in turn result in a set of precise coordinates), whenever you display the map in the frontend, provided the configuration parameters for that map are in line with what you want to show (more on this later), any new store added in the backend will show up in the frontend.

    As for the configuration that you need, in order to display a map in the frontend you need to set up a default start point, a default search radius and a default max number of stores to show. So, if your parameters are such that a certain store falls within the search radius, etc, it will show up.

    For example if you are adding stores in Minnesota and have a search radius that more or less covers the whole state, but then you add a store in Brazil, that store won’t be visible by default when you browse the website, because it is too far apart from your default settings.

    I hope this is clear enough, but get back otherwise 🙂
    Regards,

    Hi there, thanks for writing.

    The only way to do it is with the CSV Manager add-on. Please send us a private ticket if you need more info, since giving support for paid plugins is against the WordPress.org forum guidelines.

    Regards,

    ¡Hola!

    Si quieres que echemos un vistazo, pásanos la URL de tu página y así te podemos decir un poco más a tiro fijo por qué podría estar sucediendo esto. ¿Estás usando algún plugin de caché/optimización? Lo digo porque a veces algunos de estos plugins causan ciertas incompatibilidades con otros plugins, y es necesario pasarles alguna configuración específica para que ignoren algunos archivos Javascript o no alteren el orden en que se cargan. Y estos mismos plugins de optimización suelen estar deshabilitados por defecto cuando estás autenticado en tu WordPress, de ahí que el mapa funcione estando autenticado pero no cuando eres un visistante externo.

    Me dices algo y lo miramos.
    Un saludo.

Viewing 15 replies - 16 through 30 (of 694 total)