Your customers type their postal code (código postal) and the WooCommerce checkout fills in the state, the city or municipality, and shows a dropdown with every colonia (neighborhood) for that postal code. Fewer typos, fewer parcels returned for incomplete addresses.
The data comes from the official SEPOMEX catalog (Correos de México), served by the free public Postali API: no signup, no API key, no quotas.
The plugin interface is in Spanish, since it is built for stores that sell in Mexico.
By default, in Address line 2 (address_2), relabeled “Colonia” for Mexico. This is the most common convention in Mexican stores: line 1 holds street and number, line 2 holds the colonia. The colonia then shows up with no extra setup in emails, invoices, shipping labels, exports and any integration that reads the standard WooCommerce address.
If you prefer a separate field, choose “Campo propio Colonia” in the settings. It is stored as an additional order field (_wc_billing/postali/colonia and _wc_shipping/postali/colonia, the same format the block checkout uses), and it is added to the formatted Mexican address in the order screen, emails and the thank-you page. Keep in mind that many shipping integrations only read address_2.
[woocommerce_checkout] shortcode): fully supported.wc/store/cart), so the React form and the server see the same values. The colonia dropdown appears right below the postal code field, using the same markup as WooCommerce’s own selects. Because the block checkout does not allow replacing its fields, the dropdown is the plugin’s own element and writes into Address line 2 (or into the separate “Colonia” field, registered through WooCommerce’s additional checkout fields API and shown only for Mexico on WooCommerce 9.9+). If a theme or plugin heavily customizes the block form, state and city autocompletion keep working even if the dropdown cannot be inserted.Under WooCommerce > Settings > Postali:
The plugin can show a small “Datos: Postali” link below the colonia field. It is off by default and only appears if you turn it on in the settings. The plugin works exactly the same without it.
This plugin connects to the Postali API (https://postali.app), an external service, to look up the state, municipality and colonias of a Mexican postal code. Without this lookup the plugin cannot autocomplete the address.
What is sent, and when
https://postali.app/api/v1/mx/cp/{postal code}. Only the postal code is sent, as part of the URL. As with any web request, the service also receives the customer’s IP address and browser user agent. No name, street, email, phone or order data is sent. The request is made without cookies.The service is provided by Postali. Terms of use: https://postali.app/terminos — Privacy policy: https://postali.app/privacidad — Documentation: https://postali.app/api/docs
Postal code data comes from SEPOMEX (Servicio Postal Mexicano).