sandywp / plugins / colciudades

Colciudades

Ciudades de Colombia para WooCommerce

5.0 out of 5 stars. 5.0 1 reviews

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

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v1.1.1 40+ installs WP 6.5+ PHP 7.4+

your-sandbox.sandywp.com/wp-admin
Colciudades – Ciudades de Colombia para WooCommerce running inside a SandyWP sandbox

What you get inside

2 screens
  • The City field turned into a department-dependent dropdown in the block checkout.

  • The "Shipping by city (Colombia)" method with the searchable city selector and the cost.

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.

Questions

Do I need another “Colombia departments and cities” plugin?

No. It uses WooCommerce’s own departments plus its own municipality list and its own per-city shipping.

Does it work in the classic checkout?

Yes. In the classic checkout, My Account > Addresses and the cart shipping calculator the City field becomes a searchable dropdown, like the Department field. The per-city shipping method works in both checkouts, because it is a standard WooCommerce shipping method.

I have special prices for some cities and one general price for the rest. Customers see both

Add the general price as a “Shipping by city (Colombia)” rate with an empty city list and set Rest of the zone to Yes. It will only be offered when the customer’s city is not in the list of any other “Shipping by city” rate of the zone, and only once the customer has entered a city (until then it is not known whether a special rate applies). Free shipping, local pickup and other methods are not affected.

Some town names exist in more than one department

Palestina, Rionegro, La Unión and about 60 other names exist in several departments. When a zone covers more than one department (or all of Colombia), the city selector shows those names with their department, for example “Palestina (Huila)”, and the rate only applies in that department. Lists saved before 1.1.1 keep working as before; a repeated name saved without a department shows as “(any department)” and you can replace it with the one you meant.

A customer’s town is not in the list

The list has the official DANE municipalities. You can add values with the colciu_ciudades filter.

5.0

1 reviews

  • 5 ★ 1
  • 4 ★ 0
  • 3 ★ 0
  • 2 ★ 0
  • 1 ★ 0

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

Spin up a real WordPress site in seconds.

Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.