farroyo
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Store Locator] Show Only Country Pins on MapHi again,
We need a solution to show only 1 pin per country on map and when users zoom in to any country then all store’s pins in that country will be shown.
I’m afraid that is not possible with our plugin. By default, Wp Store Locator retrieves store locations from your database based on the distance to the searched term in the search form, regardless of the country or region they belong to, so we don’t actually provide a way to limit these results by country, sorry about that.
Best regards,
Forum: Plugins
In reply to: [WP Store Locator] Show 1 store on MapOh that is great. If you want to share your solution with us so other users can benefit from it that would be great. If not, that is ok too ??
Best regards,
Forum: Plugins
In reply to: [WP Store Locator] Sorting results by multiple parametersThanks for your words! We cannot have every option under the sun, but we think we do have a lot of possible customizations to cover a wide range of scenarios ??
Forum: Plugins
In reply to: [WP Store Locator] Sorting results by multiple parametersHi again,
Um, I don’t think that is going to be possible, since the distance is calculated in the SQL query that fetches items from the database, but it is not an actual metadata key that is passed to the array in the frontend, it is just the default sort order that the query uses if no other metadata is given as a sort criteria, so I don’t think you can sort by distance in the custom multisort array, sorry about that.
Forum: Plugins
In reply to: [WP Store Locator] How to use a grid instead of a list for the resultsHi again,
Please, no need to apologize!!! I’m glad you figured that out, don’t hesitate getting back if you need more help in the future.
Best regards,
Forum: Plugins
In reply to: [WP Store Locator] How to use a grid instead of a list for the resultsHi again,
When using the wpsl_templates filter in your functions.php file, what is the path you are using?
The example uses
get_stylesheet_directory() . '/' . 'wpsl-templates/custom.php'
, which refers to the current active theme, and inside the theme, the folderwpsl-templates
. I understand your custom template is located there, right?- This reply was modified 3 months, 4 weeks ago by farroyo.
Forum: Plugins
In reply to: [WP Store Locator] Possible to import markers from another plugin?Hi there, thanks for writing.
Depending on the tool you were using before and its export capabilities, it may be possible to create a CSV file that you can import into Wp Store Locator. Please have a look at our documentation for more info, or write us a ticket if you want more specific details.
Best regards!
Forum: Plugins
In reply to: [WP Store Locator] Show 1 store on MapHi there Muhammad, thanks for writing.
I am afraid I don’t totally get what you are trying to do, apologies. You say you want a way to manually refresh the map when the plugin does the AJAX call so you can keep the search results limited to just one? Could you be a bit more specific on the results you want to achieve, and how your custom “search by country” functionality works? Many thanks!
Forum: Plugins
In reply to: [WP Store Locator] No results info shown in JS error windowWell, actually some postcodes do have characters, such as the UK postcodes for instance, so it kind of makes sense to allow characters even if you are searching for a postcode ??
Best regards,
Forum: Plugins
In reply to: [WP Store Locator] save the new LabelsHello again,
Ok, many thanks for letting us know. I am not super savvy with WPML and I didn’t know about that solution you mention, but I’m glad you figured it out!
Best regards,
Forum: Plugins
In reply to: [WP Store Locator] save the new LabelsHi again,
Um, that is a bit weird. Did you try modifying the .mo and .po files as I suggested the other day? Let me know.
Forum: Plugins
In reply to: [WP Store Locator] How to use a grid instead of a list for the resultsOh, I think our replies collided, I just saw your CSS solution. Nevermind, you can use either of the two choices then!
Forum: Plugins
In reply to: [WP Store Locator] How to use a grid instead of a list for the resultsHi!
The way to access these
<ul>
you mention is via a custom store locator template. You would have to copy either the default template or the one with the search results below the map, do your modifications there and save it in the path that the plugin is expecting to find it according to the first link.The part in the template where the search results are injected is:
$output .= "\t\t" . '<div id="wpsl-stores" '. $autoload_class .'>' . "\r\n"; $output .= "\t\t\t" . '<ul></ul>' . "\r\n"; $output .= "\t\t" . '</div>' . "\r\n";
I hope that helps.
Regards,Forum: Plugins
In reply to: [WP Store Locator] No results info shown in JS error windowThis message is probably related to Google Maps returning a set of coordinates for that particular postcode that belong to a different country. If you haven’t restricted the geocoding results to a single country, searching only by zipcode can be ambiguous because the same postcode can exist in multiple countries, so it is very likely that Google Maps has returned a result from a different country that what you had in mind. I think we discussed it in another ticket, restricting the geocoding results to a single country should do the trick.
Forum: Plugins
In reply to: [WP Store Locator] No results shownWell, in case you need to show locations from multiple countries and you have to enable “search by zipcode only”, then it can happen that some postal codes in nearby countries may overlap. This is a situation that has to be analyzed in each case, because I am not familiar with the postcodes from Austria, Germany and Switzerland. Are all of them very similar, so that they probably overlap?