Often when using snippets for WooCommerce, you’ll need to know the three letter currency code that WooCommerce uses for a specific currency. Well, here’s a handy list of all of the currencies in WooCommerce and their corresponding currency code: United Arab Emirates dirhamAEDAfghan afghaniAFNAlbanian lekALLArmenian dramAMDNetherlands Antillean guilderANGAngolan … [Read more...] about WooCommerce Currency Code List
WooCommerce
WooCommerce – Change a Currency Symbol
To change a currency symbol in WooCommerce, all you need is a code snippet. In the following example we're going to change the symbol for Canadian Dollars from "$" to "CA$": add_filter('woocommerce_currency_symbol', 'snippetpress_change_woo_currency_symbol', 10, 2); function snippetpress_change_woo_currency_symbol( $symbol, $currency ) { switch( $currency ) { case … [Read more...] about WooCommerce – Change a Currency Symbol
WooCommerce Stripe – Modify Payment Method Icon
If you're using the official Stripe Plugin for WooCommerce, you may have noticed that each of the payment methods you enable has an icon next to it in the checkout. Occasionally, you might want to display a different icon for a payment method. For example, the Alipay logo that is included as default in the plugin is out of date, so you may want to display the new logo … [Read more...] about WooCommerce Stripe – Modify Payment Method Icon
Add a Custom Currency to WooComerce
WooCommerce supports hundreds of currencies, but there may be a situation when you need to add your own. It's really simple to do, and just requires a code snippet. Let's say for example you want to add Bitcoin to WooCommerce. The currency code for Bitcoin is "XBT" and its symbol is "฿" add_filter( 'woocommerce_currencies', 'snippetpress_add_currency' ); function … [Read more...] about Add a Custom Currency to WooComerce
Rename a Country in WooCommerce
If you would like to rename a country in WooCommerce, it's as simple as adding a code snippet to your site. The following example changes "Ireland" to "Republic of Ireland": add_filter( 'woocommerce_countries', 'snippetpress_rename_countries' ); function snippetpress_rename_countries( $countries ) { $countries['IE'] = 'Republic of Ireland'; return $countries; } The … [Read more...] about Rename a Country in WooCommerce