🎁 Webshop · All integrations
Danish address autocomplete in PrestaShop
Attach typo-tolerant address search to PrestaShop's address form — works on 1.7 and 8.x, no module installation needed.
PrestaShop's address form uses the standard address1 field. Drop the widget script into your theme's address-form template (or a displayHeader hook) and the field gets Danish autocomplete with postcode and city.
How to set it up
- Get an API key
Free account on the dashboard → copydawa_live_…. - Add the script to your theme
Either directly inaddress-form.tplor globally via adisplayHeaderhook in a tiny custom module. - Bind address1
DanadresseAutocomplete.attach('input[name="address1"]')— the widget suggests complete DAR addresses as the customer types. - Optional: auto-fill postcode/city
Use theonSelectcallback to set thepostcodeandcityfields from the chosen suggestion.
# Widget in PrestaShop's address form
{* themes/<dit-theme>/templates/checkout/_partials/address-form.tpl *}
<script src="https://danadresse.dk/static/js/danadresse-widget.js"></script>
<script>
DanadresseAutocomplete.attach('input[name="address1"]', {
apiKey: 'dawa_live_…'
});
</script>
Good to know
1.7 and 8.x
The widget is theme-agnostic — classic and hummingbird themes both work.
No ZIP install required
It's two script lines in your theme. A packaged module is convenience only.
Fewer failed deliveries
Every suggestion is an authoritative DAR address — not a guess from a global geocoder.
A packaged PrestaShop module (ZIP) is on the roadmap — write to partners@lynbro.dk for early access.
Ready to try it with PrestaShop?
Free Hobby key, no credit card — the API answers in under 100 ms.
Get an API key →