| 开发者 | clearpathlabs |
|---|---|
| 更新时间 | 2026年11月17日 20:22 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
api.snapaddress.io to provide address lookup. When a customer (at checkout or in My Account) or a member of staff (on the admin order screen) types a postcode or partial address into the lookup, the plugin sends that search text to the SnapAddress API and receives matching address suggestions.
snapaddress folder to /wp-content/plugins/No. SnapAddress uses Royal Mail PAF data directly and doesn't depend on Google Maps, Google Places or any other Google service.
Yes. SnapAddress works with both the block-based checkout and classic checkout, on both the shipping and billing address forms.
Yes. New business accounts get 100 free lookups with no card needed, valid for 3 months. That's enough to test the lookup on your checkout before you buy a pack.
You buy a one-off pack of lookup credits, from 500 upwards. The suggestions shown while someone types are free. A credit is used when they choose a suggestion and its list of addresses loads, so a completed address search normally costs one credit; choosing a second suggestion uses another. A search that finds no address isn't charged. When your credits run low, you buy another pack. There's no subscription.
Checkout keeps taking orders. Wherever the lookup appears (checkout, My Account or the admin order screen), the form falls back to standard manual address entry, so customers can still complete their orders and staff can still type an address. We email you when you're running low and again when you run out, and you top up when you're ready.
Go to WooCommerce > SnapAddress and tick "My Account > Addresses" and/or "Admin order and subscription screens" under "Show the lookup on", then save. Both are off until you turn them on. Checkout can be switched off on the same screen.
Yes, in the same way as a customer's at checkout. The suggestions shown while typing are free, and a credit is used when a suggestion is chosen and its addresses load.
Yes. Each pack is valid for 12 months from the date you buy it, and free trial credits for 3 months. This validity period is a requirement of our Royal Mail PAF licence. Credits are spent soonest-to-expire first, and buying another pack doesn't change the date on credits you already hold.
SnapAddress uses Royal Mail's Postcode Address File (PAF), which covers over 32 million UK delivery points. It lists flats and units in shared buildings individually, so customers can choose their own flat rather than just the building. We refresh our copy monthly, in line with Royal Mail's release cycle.
When a customer or member of staff uses the address lookup, the search text they type (a postcode or partial address) is sent to the SnapAddress API to return matching suggestions. No names, emails or payment details are sent. See our privacy policy at snapaddress.io/privacy for full details of what is processed and retained.
Yes, if the stores belong to your business. One SnapAddress account can serve all of them, and you can create a separate API key for each store from your dashboard. If you build or run stores for other businesses, for example as an agency, each business needs its own SnapAddress account, because credits can't be shared between businesses (a condition of the Royal Mail PAF licence).
By default the search box appears directly above the street address field. On checkout and in My Account, if your theme uses a custom layout and you want it somewhere else, add an empty element with a data-snapaddress-anchor attribute where the search box should render, for example <div data-snapaddress-anchor="billing"></div> (use "shipping" for the shipping section). The search box renders inside that element. Place the anchor outside the billing/shipping fields container (WooCommerce re-orders elements inside it), and if more than one anchor exists for a section, the first one on the page wins.
Yes. On classic checkout the search box deliberately inherits your theme's own checkout field styling, so in most themes it already matches the fields around it without any work. To customise it further, target .snapaddress-lookup__input for the field and .snapaddress-lookup__label for its label, or override the --snapaddress-* custom properties listed at the top of the plugin's stylesheet to restyle the suggestions dropdown. None of the search box's own styling uses !important, so plain rules in Appearance > Customise > Additional CSS will apply. On the admin order screen the search box uses WooCommerce's own admin field styling, so it matches the other order fields.