How to add a clickable link to a location marker description?
In the locations settings (Content → Locations → choose the location → Address), it is possible to define a link to the store. However, it will not appear on the front end in the location marker by default.
To add the website link to the location marker, please navigate to Amasty → Store Locator → Configuration → General Visual Settings → Google Mark Template and add the following variable to the template:
<a target="_blank" href="{{website}}"> {{website}}</a>
Here is the frontend result:
Related Articles
How to change the location marker?
The Store Pickup with Locator allows uploading a custom location marker to be displayed on the map. To change the default one, please, navigate to Content → Locations → [Your Locations] → Location On Map and upload the marker image. Here is the ...
What's the difference between Store Pickup, Store Locator and Store Pickup with Locator?
Although the Store Pickup with Locator module allows both adding locations and selecting them for pickup on checkout, it cannot be replaced with a combination of the Store Locator and Store Pickup modules. The Store Pickup with Locator extension ...
Store Locator | GraphQl methods
Queries amStoreLocatorAttributesToFilter description: get location attributes searchAmStoreLocations (filter: AmStoreLocationsFilterInput, pageSize: Int, currentPage: Int = 1) description: search all locations with filter Mutations ...
The location isn't displayed correctly on the map. How to fix this?
When the location is configured, sometimes it can be wrongly displayed on the map. This happens when the longitude and latitude for the store location aren't specified correctly. You may check the values of those fields in Content → Locations → ...
How to translate or modify the default locations' fields?
For changing fields in locations' descriptions, the Store Locator module provides straightforward settings, available in the general extension settings. Here’s a step-by-step guide on how to edit these fields for specific stores: Step 1. Navigate to ...