Linux 软件免费装
Banner图

Colciudades - Ciudades de Colombia para WooCommerce

开发者 davidzoque
更新时间 2026年10月13日 23:30
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

shipping colombia cities block checkout

下载

1.0.2 1.0.3 1.0.1 1.0.4 1.1.0 1.1.1

详情介绍:

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.

安装:

Upload the colciudades folder to /wp-content/plugins/ (or install the ZIP from Plugins > Add New > Upload Plugin), then activate it. Make sure WooCommerce is active. It works with the block Checkout and with the classic one. For per-city shipping, go to WooCommerce > Settings > Shipping, add the "Shipping by city (Colombia)" method to a zone, and pick the cities and the cost.

屏幕截图:

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

升级注意事项:

1.1.1 Fixes the "Rest of the zone" rate showing before the customer picks a city, and per-city rates matching a town with the same name in another department. 1.1.0 New "Rest of the zone" option for a general rate that only applies to cities without a special rate. Nothing changes until you turn it on. 1.0.4 Hardening after a security review. No known vulnerability is fixed; updating is recommended but not urgent. 1.0.3 City dropdown in the classic checkout too, and per-city shipping that matches cities typed without accents. 1.0.2 Important fix for stores using a dot as thousand separator (e.g. COP): the per-city shipping cost no longer loses its thousands when saved with WooCommerce 11. 1.0.1 Searchable city selector and per-city shipping improvements.

常见问题:

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.

更新日志:

1.1.1 1.1.0 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0