• Resolved jantsDesign

    (@jantsdesign)


    Hello,

    I’m actually using this plugin as a locater for therapists as it is the only one I could find that did what I wanted, nice work.

    However would it be possible to allow a store location to have 2 different locations, rather than entering 2 stores(Therapists) with different addresses?

    Many thanks and great plugin.

    Paul.

    https://www.ads-software.com/plugins/wp-store-locator/

Viewing 1 replies (of 1 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    No, this isn’t possible at the moment. Each location can only have one set of coordinates, and those coordinates are used to look for nearby matches if the users makes a search, and to place the marker on the map.

    It’s possible to add custom fields with this filter, so you can add two additional lat / lng fields, and you can change the sql query with this filter to also include the second set of coordinates, but the code in the wpsl-gmap.js doesn’t expect two set of coordinates for a single location ( you do need two markers on the map ). And changing that file is a bad idea, you will lose your modifications once you update.

Viewing 1 replies (of 1 total)
  • The topic ‘Adding 2 locations per store’ is closed to new replies.