For anyone using this plugin and experiencing incompatibilities with the latest versions of WooCommerce, the problem I got lies in the method add_currency_to_wc
. If you haven’t added a custom currency it will return empty array of currencies and break WooCommerce. To fix this change line 120 of the main plugin file woocommerce-custom-currency.php
from return;
to return $wc_currencies;
. Here is the whole method:
function add_currency_to_wc( $wc_currencies ) {
// We need to get the array of custom currencies and add it here to woocommerce
$custom_currencies_data = self::get_custom_currencies();
if( empty( $custom_currencies_data->labels ) )
return $wc_currencies;
for( $i = 0; $i < count( $custom_currencies_data->labels ); $i++ ) {
$label = empty( $custom_currencies_data->labels[ $i ] ) ? $custom_currencies_data->codes[ $i ] : $custom_currencies_data->labels[ $i ];
$wc_currencies[ $custom_currencies_data->codes[ $i ] ] = $label;
}
return $wc_currencies;
}
]]>
Hello
Please could you assist, the shipping is not converting to the ZAR on paypal checkout.
It stays one on one from rand to dollar.
Will appreciate your help
Thank you
Regards
]]>Great job, the plugin work perfectly to convert the subtotal price but shipping cost still same and doesn’t convert
for example
product 100 egp will be 10$
shipping cost 15egp will be 15$
broken plugin, shows error when trying to retrieve currencies in configurarion, also in currency tab to try add a new currency
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>Hi,
need help (who to ask) with the code form for custom currency (to inser in functions.php file) where exactly to insert it (to avoid mess tried it but breaks the page) :
add_filter( ‘woocommerce_currencies’, ‘add_my_currency’ );
function add_my_currency( $currencies ) {
$currencies[‘ABC’] = __( ‘Srpski Dinar’, ‘woocommerce’ );
return $currencies;
}
add_filter(‘woocommerce_currency_symbol’, ‘add_my_currency_symbol’, 10, 2);
function add_my_currency_symbol( $currency_symbol, $currency ) {
switch( $currency ) {
case ‘ABC’: $currency_symbol = ‘RSD’; break;
}
return $currency_symbol;
}
Thank you in advance.
Best regards!
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>It is beautiful that I can add new currency as Myanmar Kyats in my woo commerce shop. How can I do to display currency symbol(Kyats) after currency? For example… 20 Kyats instead of Kyats20
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>Hello.
I have next problem, my local currency is Croatian Kuna (Kn) and how PP do not accept this i must change to EUR. Now everything works great aside of one thing, in the email what customer gets after the order this plugin will change my local currency in EUR. To make it clear, PP will get right amount to process based on what exchange rate i put for EUR – Kn but the email what the customer will get from my site will change everything in EUR, e.g. instead of:
Product – 50Kn
Shipping – 30Kn
Payment method: PayPal
Total: 80Kn
will be:
Product – 50€
Shipping – 30€
Payment method: PayPal
Total: 11€
So how you can see in the email what will be sent to the customer the currency symbol for the product and shipping is wrong, even the total amount is correct (11 EUR). I would be ok if the customer get everything changed to EUR based on exchange rates but how is now just makes a big confusion for the customer what i would like to avoid.
Is there anything i could do to sort this problem?
P.S. In the email what is sent to the customer once the order is confirmed in woocommerce evetyhing is back to normal and all prices have right currency (Kn).
P.S. I’m using default email templates from woocommerce.
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>Hi,
Does this plugin allow 2 currency’s showing per product? And is the value of the pricing variable? I want a fixed euro and fixed dollar price for all the products.
thx, Mark
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>When using this plugin, the order total after checkout is zero. Disabling the plugin removes the error.
I am using WP 4.1, Avada 3.6, WooCommerce 2.2.10 (and 2.2.11) and WooCommerce Custom Currencies v2.1 with custom currency set to DKK and multiplier = 1.0
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>Hi.
We get 2 warning after updating plugin:
Warning 1:
Warning: array_unique() expects parameter 1 to be array, null given in /var/www/www.URL ADRESS HIDDEN HERE/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 298
class="post-10110 product type-product status-publish has-post-thumbnail taxable shipping-taxable purchasable product-type-simple product-cat-cobb-premier-gas-sv instock">
Warning 2:
Warning: array_unique() expects parameter 1 to be array, null given in /var/www/www.URL ADRESS HIDDEN HERE/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 298
How to fix this?
we had to deactivate and wait for fix
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>It would be nice to read quotes (rates) from yahoo finance.
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>Hello,
How can I add multiple currencies? The tab on the WooCommerce settings page that the plugin adds only seems to let me add one extra currency?
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>Hello
Until 1.4.1 version the plugin was working great for me. But not with the last update.
The currency of my site is ARS (Peso Argentino) and the payment gateway is MercadoPago.
I have it configured like this: https://awesomescreenshot.com/00e3rojvcb
You can see i created a symbol that its not the default. And i like that.
If i type the symbol the same way in the new version, the MercadoPago gateway tells me the currency must be ARS, USD, etc. and it doesn′t work until i change that.
Also if i use ARS and Peso Argentino in the new version, my theme dont show the $ symbol before the “0” in the shopping Cart. Dont know why.
Thing is i hope you try to update to a new version with the old options. If not i will have to use the older version instead.
So the new version should have 3 options for custom currencies.
They should be these:
1) Currency
2) Custom symbol
3) The custom name of the currency
I hope you can do it.
Thank you.
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>Hi, I get this error upon installing.
What can I do?
I was using PAYPAL CURRENCY CONVERTER LITE FOR WOOCOMMERCE before but because IPN issue, I tried switching to your plugin.
I appreciate your help in advance.
—————————–
Warning: include(/home/korea23/public_html/wp-content/plugins/woocommerce-custom-currencies//settings/class-wc-custom-currencies.php): failed to open stream: No such file or directory in /home/korea23/public_html/wp-content/plugins/woocommerce-custom-currencies/woocommerce-custom-currencies.php on line 66
Warning: include(): Failed opening ‘/home/korea23/public_html/wp-content/plugins/woocommerce-custom-currencies//settings/class-wc-custom-currencies.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/korea23/public_html/wp-content/plugins/woocommerce-custom-currencies/woocommerce-custom-currencies.php on line 66
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>Dear Galal
before last update, we can add more than one currency
but now we can add only one
How can we add more
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>I’m using the latest version of WP and Woo commerce as well as the latest version of your plugin.
When I did the upgrade the custom currency symbol AUD$ doesn’t appear anymore.
Only $
I have the previous version of the plugin installed on a local machine which works.
The latest version 2.0.1 has the issue
Any help would be greatly appreciated.
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>Good Day
First of I love this plugin its super easy to use.
I would like to find out is there a way to add the converted amount to the Price.
For example Price or (Converted Price) on both Shop page and Single Product View
Thank You
Deon
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>Can this be used to update all product prices by changing the default value of a certain currency?
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>Hello,
our products are in currency that is supported by our local payment provider, but unsupported by PayPal.
I enabled PayPal on some products, they can be bough and paid for successfully (conversion works) with euros, but PayPal reports error with IPN. I can see in a transaction log that paid amount is correct, but it is reported as incorrect – probably because of WooCommerce comparing it with unconverted price of a product.
So, with disabled “convert order total” prices are not converted to Euros on my local provider, but converted on PayPal.
I enabled Custom Currencies option “convert order total” and now all of my prices are converted – PayPal or not.
How can I enable conversion only in PayPal?
Or correct PayPal paid amount checking in WooCommerce?
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>WooCommerce Custom Currencies 1.4.1
WooCommerce 2.1.6
This shows in paypal logs. I have set currency that replaces existing currency in WooCommerce, but I have set conversion rate to EUR so I can use it for PayPal.
I have tried enabling “Convert order total” option, but it double converts the amount for PayPal (bug ?) and the “Payment error: Currencies do not match” still occurs.
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>Hello ??
As the title said, i have problem when using “Woocommerce Custom Currencies” with 2Checkout Plugin (from woocommerce : https://docs.woothemes.com/document/2checkout/).
I already use the setting “Convert order total”, but it seems not working too :(.
Any help is appreciated :).
Thank you ??
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>Does it work well with discounts also?
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>I want to add plugin’s dashboard menu link for my blog authors.
So, I edit plugin with below:
add_submenu_page( 'edit.php?post_type=product', 'Custom Currencies', 'Custom Curr.', 'manage_product_terms', 'woocurrenciez_plugin/options.php', 'woocurrenciez_plugin_options_page' );
Now when author tries to save changes, get “Cheatin uh?” error.
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>Hello,
I have a problem with this plugin. Payment goes ok but afterwards woocommerce gives me following error in order page:
“Validation error: PayPal amounts do not match (gross 30.80). Order status changed from pending to on-hold.”
Can you help me with this?
Sincerely,
Goran Vrabec
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>Hi I cannot work out this plugin as I want to enable the choice of 3 currencies or more.
At the moment the website is in GBP but I wish to enable Dollars and the EURO.
Can this plugin do that and if so can you give instructions on how to add a new currency, as at the moment it doesn’t seem to make sense which makes me think if will not do this!
https://www.naked-runner.com
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>paypal shows the following error,
“The link you have used to enter the PayPal system contains an incorrectly formatted item amount.”
is caused by the 4 digits after decimal point.
Any help…
Thanks
https://www.ads-software.com/plugins/woocommerce-custom-currencies/
]]>