Kosovo Region Addon

描述

This plugin adds Kosovo to the WooCommerce countries list, provides municipalities as administrative regions for shipping/calculation, and adjusts the locale so the state field is required and labeled in Albanian. It also exposes a PHP helper to map popular municipalities to their postal code.

安装

  1. Upload the plugin folder to /wp-content/plugins/.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Ensure WooCommerce is active. Go to WooCommerce settings and enable Kosovo as needed.

常见问题

Where are the municipalities shown?

They appear in the “State/County” dropdown when Kosovo (XK) is selected at checkout or in addresses.

Does this change my database?

No. It hooks into WooCommerce filters at runtime only.

评价

2025 年 11 月 17 日
I stumbled across this completely by chance, but it’s actually a pretty cool plugin. It does exactly what it promises, and it’s way better than messing with the code in the Theme File Editor (Doing it that way would erase the extra code upon every update, making you redo it everytime).
阅读所有2条评价

贡献者及开发者

「Kosovo Region Addon」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.2.1

  • Compliance fixes for readme headers and versioning.

1.2

  • Prefix internal helper function to avoid collisions.
  • Add standard readme with proper contributor username.