Directory / plugin

Colciudades – Ciudades de Colombia para WooCommerce

v1.1.1 · by David Zoque

City dropdown by department for the WooCommerce block and classic checkout, plus per-city shipping. Built for Colombia.

View on WordPress.org

About this plugin

Works in the block checkout and in the classic one. WooCommerce shows Colombia’s 33 departments at checkout, but the City field is left as free text. Most plugins only turn it into a dependent dropdown in the classic checkout; this one also does it in the new block checkout (the React based one), and it adds per-city shipping.

  • City dropdown that depends on the selected department, in the WooCommerce block checkout and the classic checkout (shipping and billing addresses).
  • In classic stores it also works in My Account > Addresses and in the cart shipping calculator, with a search box.
  • Adds a per-city shipping method (based on flat rate): pick the cities and a cost inside a zone, with an option to hide the other methods when it applies. The city selector is a search box.
  • “Rest of the zone” rates: a general rate that is only offered to cities without a special rate of their own, so a customer in a city with its own price never sees the cheaper general one too.
  • Bundles Colombia’s 1,104 official municipalities (DANE), with correct accents.
  • Uses WooCommerce’s native departments (ISO 3166-2). No other plugin required.
  • Saves the value in the standard city field, so shipping, taxes and the invoice get it unchanged.
  • Compatible with HPOS and the cart/checkout blocks. Translation ready, with Spanish included.

Credits

The municipality list is built from the open-source “colombia-json” dataset by Marco Vega (https://github.com/marcovega/colombia-json), available under the MIT license, based on official DANE (public domain) data.

Plugin tags