pass url arguments to map page

New home Forums Feature Requests pass url arguments to map page

  • This topic has 6 replies, 2 voices, and was last updated 1 month ago by Matthew.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #75791
    Broemmelhaupt
    Participant

    Hi,
    I find it useful if I could adress the maps page with url parameters.
    For example, we offer products which are sold by other stores.
    Ideally I could link from the products to our storefinder with a category parameter.
    The storefinder then only shows stores which have that destinct category.
    Has anyone a workaround right now?
    Best regards,
    Sebastian

    #75812
    Matthew
    Moderator

    Hi Sebastian,

    Thank you for getting in touch with us, we do appreciate your time.

    Your described functionality may be possible using some custom JS code however please may I ask if you may elaborate a bit further with possibly an example so that I may confirm if it is indeed possible?

    I look forward to hearing back from you.

    Kindest Regards,
    Matthew

    #75834
    Broemmelhaupt
    Participant

    Test-reply

    #75836
    Broemmelhaupt
    Participant
    This reply has been marked as private.
    #75848
    Matthew
    Moderator

    Hi Sebastian,

    Thank you for getting back in touch with us.

    You may preselect category filters by making use of the ‘cat’ shortcode parameter when implementing the map shortcode on the page.

    With that said, please may you the following parameter to your map shortcode and confirm if this helps: cat="3".

    I look forward to your response.

    Kindest Regards,
    Matthew

    #75857
    Broemmelhaupt
    Participant

    Hi Matthew,
    thank you for your response.
    This solution would mean that I would have to build multiple store locators for each brand.
    Is my assumption correct?
    Best regards,
    Sebastian

    #75890
    Matthew
    Moderator

    Hi Sebastian,

    Thank you for your response.

    You may create one map that contains all your markers in it. This will then allow you to implement that map on different pages on your site, and just simply add the respective ‘cat’ shortcode based on your page and which marker categories you would like to display by default?

    I hope this answers your question?

    Kindest Regards,
    Matthew

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.