Linux 软件免费装
Banner图

Currency Switcher for WooCommerce

开发者 wpwham
更新时间 2024年9月27日 06:52
PHP版本: 4.4 及以上
WordPress版本: 6.6
版权: GNU General Public License v3.0
版权网址: 版权信息

标签

currency currency switcher switcher multicurrency multi currency

下载

2.11.0 2.11.1 2.11.2 2.11.3 2.11.4 2.12.0 2.12.1 2.12.2 2.12.3 2.12.4 2.13.0 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.5.0 2.5.1 2.5.2 2.7.0 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.71 2.8.9 2.9.0 2.9.1 2.9.2 2.9.3 2.9.7 2.0.0 2.1.1 2.15.1 2.15.0 2.11.5 2.14.0 2.2.4 2.6.0 2.8.8 1.0.1 1.0.0 2.16.0 2.10.0 2.15.2 2.16.1 2.9.4 2.9.6 2.1.0 2.16.2

详情介绍:

Currency Switcher for WooCommerce. Features Currency Switcher Shortcodes More Shortcodes Feedback More

安装:

  1. Upload the entire 'currency-switcher-woocommerce' folder to the '/wp-content/plugins/' directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Start by visiting plugin settings at WooCommerce > Settings > Currency Switcher.

屏幕截图:

  • Currency Switcher for WooCommerce - Exchange Rates.
  • Currency Switcher for WooCommerce - Currency Countries (by IP).
  • Currency Switcher for WooCommerce - General.
  • Currency Switcher for WooCommerce - General - Switcher Placement and Format.
  • Currency Switcher for WooCommerce - General - Exchange Rates Final Price Correction.
  • Currency Switcher for WooCommerce - General - Advanced Options.
  • Currency Switcher for WooCommerce - Price Formats.
  • Currency Switcher for WooCommerce - Languages.
  • Currency Switcher for WooCommerce - Shortcodes - Product Price Table.

常见问题:

Issues regarding Paypal

  • If you are experiencing some sort of issue regarding paypal, like incorrect currency code displayed in notification emails or anything else, please try to disable the default paypal component bundled with WooCommerce and use this plugin instead

How to get the converted price

If you are trying to display the converted price on a custom template for example you can use our alg_get_product_price_by_currency() function. e.g add_action('woocommerce_single_product_summary', function(){ if ( ! class_exists( 'Alg_WC_Currency_Switcher' ) ) { return; } global $product; $price = get_post_meta( get_the_ID(), '_regular_price', true); $converted_price = alg_get_product_price_by_currency( $price, alg_get_current_currency_code(), $product, true ); $converted_price_formatted = wc_price( $converted_price ); echo "<h1>{$converted_price}</h1>"; echo "<h1>{$converted_price_formatted}</h1>"; });

CoinMarketCap not working?

Please make sure you are using at least one Cryptocurrency on your Currency settings. You can install All Currencies for WooCommerce plugin to enable them

National Bank of Georgia

If you are trying the National Bank of Georgia server option with no success, make sure that your server has the SoapClient library installed and enabled

How to override rounding and pretty price per currency?

If you want for example to turn on the rounding for all products except for Bitcoin, supposing you’ve enabled rounding and pretty price on plugin’s settings: ` add_filter( 'alg_wc_currency_switcher_correction', function ( $correction, $currency ) { if ( $currency == 'BTC' ) { $correction['rounding'] = 'no_round'; $correction['pretty_price'] = 'no'; } return $correction; }, 10, 2 ); `

How to force currency by URL

If you want to set a currency just accessing an URL you can append the alg_currency variable with the currency code you want. e.g http://www.yoursite.com?alg_currency=USD

更新日志:

2.16.2 - 2024-09-26 2.16.1 - 2024-08-30 2.16.0 - 2024-08-29 2.15.2 - 2023-07-07 2.15.1 - 2022-07-07 2.15.0 - 2021-10-07 2.14.0 - 2021-04-07 2.13.0 - 2021-01-19 2.12.4 - 2020-09-17 2.12.3 - 2020-08-20 2.12.2 - 2020-08-07 2.12.1 - 2020-06-13 2.12.0 - 2020-05-27 2.11.5 - 2019-12-17 2.11.4 - 2019-11-15 2.11.3 - 2019-11-04 2.11.2 - 2019-10-31 2.11.1 - 2019-09-29 2.11.0 - 2019-08-14 2.10.0 - 2019-07-23 2.9.7 - 2018-11-06 2.9.6 - 2018-10-30 2.9.5 - 2018-10-19 2.9.4 - 2018-09-22 2.9.3 - 2018-09-11 2.9.2 - 2018-09-10 2.9.1 - 2018-09-10 2.9.0 - 2018-08-21 2.8.9 - 2018-08-08 2.8.8 - 2018-07-19 2.8.7 - 2018-07-13 2.8.6 - 2018-06-14 2.8.5 - 2018-05-08 2.8.4 - 2018-04-20 2.8.3 - 2018-03-07 2.8.2 - 2018-02-21 2.8.1 - 2018-01-28 2.8.0 - 2017-12-26 2.7.0 - 2017-11-12 2.6.0 - 2017-10-16 2.5.2 - 2017-09-05 2.5.1 - 2017-09-03 2.5.0 - 2017-09-02 2.4.4 - 2017-08-02 2.4.3 - 2017-07-30 2.4.2 - 2017-07-29 2.4.1 - 2017-07-28 2.4.0 - 2017-07-03 2.3.1 - 2017-05-21 2.3.0 - 2017-04-14 2.2.4 - 2017-03-11 2.2.3 - 2017-03-06 2.2.2 - 2017-03-01 2.2.1 - 2017-02-20 2.2.0 - 2017-02-19 2.1.1 - 2016-12-31 2.1.0 - 2016-12-14 2.0.0 - 2016-12-08 1.0.1 - 2016-08-04 1.0.0 - 2016-07-24