OpenCart 2.3–4.1 extension

Supreme Address Autocomplete and Validation

Help shoppers fill in their address in a few keystrokes. As they type the street at checkout, a list of matching addresses appears; one click fills the street, city, postcode, country and state. You use your own free key from Geoapify or LocationIQ, so there is no middleman and no extra fee from us. No core files are changed.

$20
Supreme Address Autocomplete and Validation — overview

What shoppers see

  • Type 3 or more characters (you set the number) in the address line and pick a suggestion with the mouse or the arrow and Enter keys.
  • The street, city, postcode, country and state are filled in together. The country and state are matched to your own shop's country and state lists, so the drop-downs select correctly (the state list is waited for after the country changes).
  • A gentle warning under the postcode when it does not look right for the chosen country (about 35 countries, for example India 6 digits, US 5 digits, UK, Canada, Germany). It never blocks the order.
  • India: type a 6 digit pincode and the city and state are filled from the Supreme Pincode Checker list, when that extension is installed and has data.
  • Works on the checkout (including Supreme One Page Checkout), registration and address book pages, with no change to your theme.

What you control

  • Provider: Geoapify or LocationIQ. Paste your key once.
  • Only suggest addresses in some countries, for example IN,US.
  • How many characters before suggestions start, and how many requests one visitor may make a minute (protects your free quota).
  • Switches for the postcode hint and the pincode fill.
  • A "Send a test request" button that reports the provider's answer, a refused key, a reached limit or an unreachable provider.
  • Admin permissions: opening needs view rights, saving and the test button need change rights.

Safe

  • The key stays on your server: the shopper's browser talks to your shop, and your shop talks to the provider. The key is never shown again after saving (a mask is shown; leave it blank to keep it, type a dash to remove it) and never sent to the shopper.
  • Suggestion texts from the provider are stripped of markup before they are shown.
  • A provider that is down, refuses the key or is over its limit just means no suggestions; the shopper types the address as usual and the order is not affected. The shopper is told nothing about the reason.
  • A per-visitor limit per minute and a short time limit (3 seconds to connect, 6 in all) keep your quota and your pages safe.
  • Uninstalling removes the settings and the small rate-limit table.

Works with

OpenCart 2.3, 3.0, 4.0 and 4.1 (one zip for each).

Good to know

Screenshots are still to be added.

  • You need your own key from Geoapify or LocationIQ (both have free plans). Their prices, limits and terms are theirs; check that your use fits the plan. Providers send the typed text to their servers, so mention it in your privacy policy.
  • The postcode hint is only a hint. It does not stop an order or change the address.
  • Suggestions depend on the provider's data for the country; some countries have fewer house numbers.
  • Tested on the four versions with the real admin installer, 75 to 83 checks each, against a local stand-in service that plays Geoapify and LocationIQ (the real services were not contacted, because that needs your own key): both providers' requests and answers, key handling, a refused key and a reached limit, an unreachable provider, country filter, the per-minute limit, matching of countries and states, the pincode list, markup in provider text, permissions, uninstall and reinstall. The page was also used in a real browser on 4.1: typing, picking a suggestion, country and state filled after the zone list loaded, the postcode warning and the pincode fill.

Screenshots

Supreme Address Autocomplete and Validation — Admin settings part 1
Admin settings part 1
Supreme Address Autocomplete and Validation — Backend settings
Backend settings

More modules

You May Also Need.

Supreme VAT Number Check and EU OSS

Sell to businesses and consumers in the EU the way the VAT rules ask. Businesses with a valid VAT number of the delivery country pay no VAT (reverse charge), one click sets up the VAT rate of all 27 EU countries for distance sales (OSS), and a quarterly report shows what you sold where.

See all OpenCart modules