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.
-
AuthorPosts
-
December 20, 2022 at 12:15 pm #75791BroemmelhauptParticipant
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,
SebastianDecember 22, 2022 at 9:09 am #75812MatthewModeratorHi 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,
MatthewDecember 22, 2022 at 2:36 pm #75834BroemmelhauptParticipantTest-reply
December 22, 2022 at 2:39 pm #75836BroemmelhauptParticipantThis reply has been marked as private.December 23, 2022 at 7:49 am #75848MatthewModeratorHi 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,
MatthewDecember 23, 2022 at 10:20 am #75857BroemmelhauptParticipantHi 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,
SebastianJanuary 3, 2023 at 7:30 am #75890MatthewModeratorHi 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 -
AuthorPosts
- You must be logged in to reply to this topic.