How can I Change the Address Format?

Important Note: Since version 4.7.10, the template can be customized from the “Customizer” tab in “ASL Settings”, and not from the plugin editor.

Agile Store Locator List items render with JS Template, you can modify anything you want within the right template file, to change the Address format based on your requirement such as “80204 DENVER Colorado, US”, “L1Z 1L9 ajax, Ontario Canada” or your own order can be created, you have to modify the Template file, please follow the guide steps.

  1. First of all, Goto ASL Settings > Customizer Section, and select the template that you want to customize.

  2. Search for {{:address}} in the content of the file, which is the complete Address that appears on your Store List.

  3. Now replace it with your own version of Address Format with it, you can use any of the formats.

  4. Click on the “Update File” button to save the changes, and refresh your Store Locator to see the update.
{{:city}}, {{:postal_code}}, {{:state}}, {{:country}}
{{:postal_code}}, {{:city}}, {{:state}} 
{{:postal_code}}, {{:state}}, {{:country}}
How to change the address format?

How can I translate the Country name with WPML? #

Yes, the countries list is rendered from the database, it can also be translated via any translation plugin such as Loco Translate or WPML, if the country name doesn’t exist in the Translation pot file, you can easily modify it and sync your language file with the template.

Add new translation

For help related to the translation plugin, please follow this document guide.