[Skip to main content](#vessel-content)

#  Product location plugin

Details    Written by: Administrator    Category: [Pther extensions](/support/documentation/hikashop/other-extensions)     Published: 24 November 2026     Hits: 34

## Installation

- 1) Download the plugin on our website via the download link provided to you after the purchase.
- 2) Install it on your Joomla website via the extension manager, and enable the plugin "HikaShop - Product location" in System &gt; Plugins.
- 3) Open the settings of the plugin and choose where the address suggestions come from (see Configuration). Nothing else is needed: no account and no key.
- 4) Give your products their location: in HikaShop, open a product, and in its Location block type its address and pick it among the suggestions, or click the map; drag the pin to adjust it, then save the product.
- 5) For the distance search (HikaShop Business): in Display &gt; Filters, click New, give the filter a name (for example "Distance"), choose the type "Distance", set its radiuses, and publish it. It is shown by the HikaShop filters module of your listings, with the other filters (see the documentation of the filters module to place the module).
- 6) With HikaMarket: in the ACL of your vendors, the entry "productlocation" of the product's plugins lets a vendor set the location of its own products in its vendor area. A product with no location takes its vendor's location (the vendor's map in the vendor area or in the HikaMarket back end).

![The Location block of the product form, an address picked and its pin on the map](/images/doc/plugins/productlocation/productlocation_block.png)

## Configuration

### The settings of the plugin (System &gt; Plugins &gt; HikaShop - Product location)

![The settings of the Product location plugin](/images/doc/plugins/productlocation/productlocation_settings.png)

- **Address suggestions**: the service your visitors' browsers ask for the addresses as they type, in the Location block and in the Distance filter. "Photon (OpenStreetMap, worldwide)" is free and covers every country, and is the default. "Géoplateforme IGN (France)" is the free service of the French IGN (the former API Adresse of the BAN): for a shop whose products are in France, its suggestions of streets and postcodes are the best. "Your own Photon server" is for a shop that runs its own Photon. The shop's server never calls these services: the visitor's browser does, and only with what the visitor types.
- **Address of your Photon server**: with "Your own Photon server" only, the address of its search, for example https://photon.example.com/api/.
- **Countries**: the codes of the countries the suggestions are taken from, separated by commas, for example FR,BE. Leave it empty for every country. The Géoplateforme only knows France.
- **Map on the product page**: Yes shows the address and a map of the place on the product page, after the description. No shows nothing; the location is still used by the Distance filter.
- **Vendor's location**: with HikaMarket, Yes makes a product with no location of its own take the location of its vendor, in the distance searches and on the product page.
- **Map tiles address**: leave it empty for the OpenStreetMap maps. To use another tile provider, enter the address of its tiles with {z}, {x} and {y}.
- **Tiles attribution**: the credit the tile provider asks you to show under the map. Empty for OpenStreetMap's.

### The Distance filter (Display &gt; Filters)

![The settings of a Distance filter](/images/doc/plugins/productlocation/productlocation_filter_settings.png)

- **Type**: "Distance".
- **Radiuses offered**: the radiuses the visitor can choose, separated by commas, for example 5,10,25,50,100.
- **Default radius**: the radius chosen when the visitor has not chosen one; it must be one of the radiuses offered.
- **Unit**: kilometres or miles, for the radiuses and the distances shown.
- **Sort by distance**: checked, the listing shows the nearest products first while a distance search is on; unchecked, it keeps its own order.
- **Around me button**: checked, the filter offers a button that searches around the visitor's position, when their browser gives it.
- **Submit on click** (a setting of every filter): Yes refreshes the listing as soon as an address or a radius is chosen; No waits for the Filter button of the module.

### The Location block (the product form)

- **Address**: the address shown on the product page. Pick it among the suggestions to put the pin at its place. An address typed and left without picking a suggestion is looked up once when you leave the field.
- **The map**: click it to put the pin, drag the pin to move it. The distance searches use the pin, not the text of the address.
- **Clear the location**: removes the address and the pin; the product is then left out of the distance searches (or found at its vendor's location, with HikaMarket).

## Troubleshooting

- **"The address of the product was not found on the map"**: the product was saved with an address but no pin. Pick the address among the suggestions or click the map, and save again.
- **No suggestions appear**: type at least three letters. The suggestions come from the service of the plugin's settings: check that the visitor's browser can reach it (a content security policy of your site must allow photon.komoot.io or data.geopf.fr in connect-src, and tile.openstreetmap.org in img-src). With the Géoplateforme, type whole words (a town, a street with its town).
- **The Distance filter is not in the list of filter types**: the plugin is not enabled, or the shop is not on the Business edition.
- **A product is never found by the distance search**: it has no pin (open it and check its Location block), or it is not in the categories the filter module shows.
- **"Around me" does nothing**: the visitor refused to share their position, or the site is not served over HTTPS (browsers give the position to secure sites only).
- **The map is grey**: the tile provider of the settings does not answer; empty the "Map tiles address" setting to go back to OpenStreetMap.
