What is the Addressfinder extension for Shopify Plus?
- The Addressfinder plugin for Shopify Plus adds an autocomplete capability to the billing and shipping address fields for Australian and New Zealand Shopify Plus Stores.
- Get Verified addresses - No more mistakes. Save addresses straight from your webform to your database.
- Access the latest addresses - Database refreshed monthly for up-to-date addresses.
- No software required - Addressfinder is a Javascript widget and API.
- Supports all modern browsers - Addressfinder for Shopify Plus will work in all modern browsers.
Installation
- 1. Sign in to your Shopify Plus store and edit the checkout.liquid file. This can be found under Themes -> Edit Code
- 2. Copy and paste the following scripts into the file, just above the closing body tag.
<script> window.AddressFinderPlugin = { key: "ADDRESSFINDER_DEMO_KEY", widgetOptions: { address_params: { gnaf: 1 } } } </script> <script async src="https://api.addressfinder.io/assets/shopify/v1/boot.js"></script>
- 3. Update the "ADDRESSFINDER_DEMO_KEY" with your Addressfinder licence key. If you don't have a licence key yet, you can get one by signing up for a free plan.
- 4. Test the extension on the Checkout page of your store. When you test, select either 'Australia' or 'New Zealand' in the country field of the checkout, then search an address.
Advanced Usage
If you want to adjust the default behaviour of the widget you may add additional options. These options should be added in the widgetOptions
object in your Addressfinder script. For a full list of possible options visit our Widget Documentation.
window.AddressFinderPlugin = {
key: "ADDRESSFINDER_DEMO_KEY",
widgetOptions: {
empty_content: 'No addresses were found. Please enter your address manually'
}
};
Country Specific Options
If you need to add different options for each country you can enter them in objects with the keys 'nzWidgetOptions' and 'auWidgetOptions'
window.AddressFinderPlugin = {
key: "ADDRESSFINDER_DEMO_KEY",
nzWidgetOptions: {
empty_content: 'No addresses were found. Please enter your address manually'
},
auWidgetOptions: {
empty_content: 'No addresses were found. Please contact us to resolve this issue'
}
};