Koci Currency lets a WooCommerce shop sell in additional currencies (for example EUR and PLN next to the base currency) with fixed prices entered per product. There is no exchange rate feed: customers see exactly the price you set, and products without a price in a currency simply cannot be bought in it.
[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).In the admin, the base currency is always used.
Pages are rendered in the currency of the visitor. If you use a page cache, configure it to bypass the cache when the koci_cur cookie is present (Koci Cache does this automatically). Visitors without the cookie see the default currency and get cached pages.
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.
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).