
Checkout Blocks: one line typed, a list of suggestions with the exact postal code on the right.
Customers type their address once, in one line, and pick it from a list. The
plugin fills in the street, the postal locality and the exact seven-digit
Portuguese postal code (código postal, CP7): the code carriers need on the
shipping label, chosen by door number. Moradas is Portuguese for “addresses”.
It is built for stores that ship to Portugal. Missing accents, abbreviations and
small typos are understood (“av liberdade lisboa 196” becomes Avenida da
Liberdade, Lisboa, 1250-147), and a postal code typed on its own fills in the
street and the locality. The service behind the plugin is free and public: no
API key, no account, and the typed text is not stored.
The service at https://moradas.dev is public and free, including for commercial
use. There is no key to paste and no account to create. Fair-use limits are
described at https://moradas.dev/docs. Stores that run their own instance of the
service can point the plugin to it under WooCommerce Settings Advanced Moradas.
The plugin’s interface text (the settings, the admin notices and the “enter the
door number” hint in the checkout) ships with a Portuguese (Portugal)
translation. The suggestions themselves are addresses, so they read the same in
any language.
This plugin connects to the Moradas address API (https://moradas.dev), a free
public service run by the authors of this plugin, to turn what the customer types
into address suggestions and into the exact postal code. Without this service the
plugin has nothing to suggest.
When it is used: only on the checkout page and only when the country is Portugal,
while the customer types in the address field, and once more when a suggestion is
picked. Nothing is sent when the plugin is activated, in the WordPress admin, or
on any other page.
What is sent: the text typed in the address field (for example
“av liberdade lisboa 196”) and, when a postal code has to be resolved, the
identifier of the chosen street together with the door number. Each request
also names the plugin and its version (for example “wp-woo/0.3.1”); together
with the website address that the browser sends with every request, this lets
the service count the stores where the plugin is active. No name, e-mail, phone
number, order or account data is sent. The requests go from the customer’s
browser straight to the API, without cookies; like any web request, they include
the browser’s IP address and user agent. The service does not store the typed
text and keeps only hourly aggregate usage counts.
Terms of use and usage limits: https://moradas.dev/docs
Privacy policy: https://moradas.dev/privacy