• Resolved advantia

    (@advantia)


    Hello,

    My website includes individual pages for each of our store locations. Is it possible to create separate versions of the WP Store Locator map that only show one store at a time?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi!

    The only way I can think of is if you categorize your stores and create a different category for each of them, so if you use the “category” parameter in the [wpsl] shortcode, only that particular store would show up:

    [wpsl category=”store-a”]

    But you would have to parametrize this shortcode in your individual store template to get the category slug that corresponds to that particular store.

    And then we have the problem of the start point. When you first search stores in the map, you get a store listing result, then you click on any of the individual stores and you get redirected to the individual store page. But if you put another [wpsl category=”store-a”] there, you will also need to define a start point so that the store itself gets more or less centered in the map in relation to that start point, which would also show in the map by the way.

    Wp store locator wasn’t created with that scenario in mind, so even if you can use some of these workarunds for what you want to achieve, probably the end result will not be great.

    Regards,

    Thread Starter advantia

    (@advantia)

    Thank you for your response! The information you provided was helpful in deciding to forego the scenario altogether.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Map version to show one store at a time’ is closed to new replies.