| 开发者 | kocimedia |
|---|---|
| 更新时间 | 2026年11月10日 02:23 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[koci_currency_switcher] shortcode or kcur_switcher() template function, as a list or a dropdown, showing the code, the symbol or both.koci_cur cookie, set by the switcher).koci_cur cookie is present (Koci Cache does this automatically). Visitors without the cookie see the default currency and get cached pages.
Privacy
The plugin sets one functional cookie, koci_cur, only when a visitor uses the currency switcher. It stores the chosen currency code for one year and is not sent anywhere. The plugin does not connect to any external service.
For developers
koci_currency_current – filter the current currency code.koci_currency_language_default – filter the default currency of a language (currency, language code).kcur_shipping_method_ids – add flat-rate based shipping method ids that get per-currency fee fields.koci_currency_switcher_css – return false to skip the default switcher style (assets/switcher.css).kcur_current(), kcur_switcher( $args ), kcur_product_price_html( $product_id, $currency ) – template functions._kcur_regular_price_<CODE> and _kcur_sale_price_<CODE> (e.g. _kcur_regular_price_PLN)./wp-content/plugins/, then activate it.[koci_currency_switcher] shortcode to a menu, widget or template.No, by design. Each additional currency has its own fixed prices, so rounding and margins are always under your control.
It shows "Currently not available in this currency" and cannot be added to the cart in that currency.
In the visitor's current currency. WooCommerce stores the currency on the order, and the order amounts are shown in that currency in the admin and in emails.
No. Without one, the base currency is the default and visitors switch with the switcher. With Polylang, a default currency can be set per language on the settings page.
Any gateway that supports the order currency. Check that your gateways accept all the currencies you enable.