Linux 软件免费装
Banner图

Kargadann's PLN Price Converter for WooCommerce

开发者 kargadann
更新时间 2026年10月24日 01:44
PHP版本: 8.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

currency switcher currency converter exchange rates poland pln

下载

1.0.0 1.0.1

详情介绍:

Polish stores often sell abroad but keep prices and payments in Polish złoty (PLN). This plugin shows foreign customers how much a product, cart or order costs in their own currency, using the official average exchange rate published by the National Bank of Poland (NBP, tables A and B). Prices, totals and payments in your store stay in PLN — the foreign amounts are for information only. Features Requirements Source code All PHP, JavaScript and CSS code is included in the plugin in its original, readable and unminified form — there is no build step. The only generated files are translations: languages/*.mo and languages/*.json are compiled from the included languages/*.po files with WP-CLI (wp i18n make-mo and wp i18n make-json). Disclaimer This plugin is not affiliated with, endorsed by or sponsored by Narodowy Bank Polski (National Bank of Poland) or WooCommerce. Exchange rates are taken from the public NBP Web API. Foreign currency amounts are for information only; the store owner is responsible for prices, invoicing and compliance with applicable law.

安装:

  1. Install and activate the plugin from Plugins → Add New, or upload the ZIP file.
  2. Make sure the store currency is set to PLN in WooCommerce → Settings → General.
  3. Go to WooCommerce → Settings → NBP rates and choose the currencies and where foreign amounts should be shown.
  4. In the NBP rates section click Fetch rates now (the first fetch also runs automatically after activation).
  5. Optional: if your store runs behind Cloudflare, enable Cloudflare in Currency detection and make sure Network → IP Geolocation is on in your Cloudflare zone.
  6. Optional: add the currency switcher — the NBP currency switcher block, the [nbpx_currency_switcher] shortcode or the widget.

屏幕截图:

  • Product page: price in PLN with the amount in EUR and the "i" icon explaining the NBP rate and that payment is made in PLN.
  • Block-based cart with amounts in EUR for each item, the coupon, shipping and the VAT breakdown.
  • Order email with amounts in EUR and the currency conversion line with the NBP table number.
  • Settings: enabled currencies, fallback currency and "PLN only" countries.
  • NBP rates: tables A and B, last and next fetch, and the rates of enabled currencies.

升级注意事项:

1.0.1 Security hardening. Requires PHP 8.2 or later.

常见问题:

Will customers pay in their own currency?

No. Prices, cart totals and payments stay in PLN. The plugin only shows the equivalent amount in the customer's currency, for information.

Which currencies are supported?

All currencies published by the NBP in tables A and B (around 150). You choose which ones are enabled.

Which exchange rate is used?

The NBP average exchange rate (kurs średni) from the latest published table. The table number and date are shown next to the price and saved with each order.

Does it work with page caching and Cloudflare?

Yes. The page HTML is the same for everyone; foreign prices are loaded separately with caching disabled.

Can I set my own price in a foreign currency?

Yes. Each product (and each variation) has Currency prices fields. A manual price takes precedence over the converted price.

Does it work with other multi-currency plugins?

It is not designed to work together with plugins that change the store currency (e.g. WPML WooCommerce Multilingual currencies, CURCY, Aelia). When the active currency is not PLN, the plugin does not show conversions.

Where can I get help?

Use the support forum on WordPress.org.

更新日志:

1.0.1 1.0.0