after exchange all prices are zero
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from The on May 11, 2021, 21:30Hello
i sell my products in bulks ( 100000s or more ) each quantity of product cost : $0.000075 and the default currency is US dollar.
without the plugin, it works fine and woocommerce round the final price to 2 decimal places.
with the WooCommerce Currency Switcher plugin when the US default price changed to euro it shows all the price as "zero " when 2 decimal places are set.
the only way to fix it is to change the decimal place from 2 to 8
is there a way to fix this problem and make the plugin work just like the woocommerce without adding extra decimal places?
Hello
i sell my products in bulks ( 100000s or more ) each quantity of product cost : $0.000075 and the default currency is US dollar.
without the plugin, it works fine and woocommerce round the final price to 2 decimal places.
with the WooCommerce Currency Switcher plugin when the US default price changed to euro it shows all the price as"zero" when 2 decimal places are set.

the only way to fix it is to change the decimal place from 2 to 8

is there a way to fix this problem and make the plugin work just like the woocommerce without adding extra decimal places?
Quote from Pablo Borysenco on May 12, 2021, 11:36Hello
It looks like this is an incompatibility with a third party plugin. Read this please - https://currency-switcher.com/woocs-labs/
Hello
It looks like this is an incompatibility with a third party plugin. Read this please - https://currency-switcher.com/woocs-labs/
Quote from The on May 13, 2021, 19:18Hey there Pablo
I checked the list but only could find the facebook woocommerce plugin and upon deactivation, it didn't solve the problem either.
Given the situation that decimal place plays a role in this problem, my initial thought is the way the plugin exchange the prices is based on the decimal place that's been set.
for example:
if the default currency is dollar and the price is $0.00080
and if the euro decimal is set to 2 places it calculates the price " 0.00066 euro" but given that the decimal place is set to 2 it only returns "0.00" and then times the price by quantity which will return total as zero too.
now: ( 00.00 [price] * 100000 [quantity] = 0 )
Preferably: ( 00.00 [displayed price but it actually is "0.00066"] * 100000[quanitity] = 6.60 euro
can you please confirm that this is the case?
if yes, how to solve it?
Hey there Pablo
I checked the list but only could find the facebook woocommerce plugin and upon deactivation, it didn't solve the problem either.
Given the situation that decimal place plays a role in this problem, my initial thought is the way the plugin exchange the prices is based on the decimal place that's been set.
for example:
if the default currency is dollar and the price is $0.00080
and if the euro decimal is set to 2 places it calculates the price" 0.00066 euro" but given that the decimal place is set to 2 it only returns"0.00" and then times the price by quantity which will return total as zero too.
now: ( 00.00 [price] * 100000 [quantity] = 0 )
Preferably: ( 00.00 [displayed price but it actually is"0.00066"] * 100000[quanitity] = 6.60 euro
can you please confirm that this is the case?
if yes, how to solve it?
Quote from Pablo Borysenco on May 14, 2021, 11:08Hello
Please add wp-admin access here - https://c2n.me/43SC6rb.png ->https://c2n.me/42BAoj4.png I will check it
Hello
Please add wp-admin access here - https://c2n.me/43SC6rb.png ->https://c2n.me/42BAoj4.png I will check it
Quote from The on July 7, 2021, 04:55Hello Pablo
sorry for the late reply, i have added the admin access and also purchased the product. can you please have a look?
here is a good example of the no price ( default currency is USD ):
https://www.wowgoldmarket.com/product/wow-eu-gold/?currency=USD ---> works fine with having 2 decimal places set in the plugin settings
https://www.wowgoldmarket.com/product/wow-eu-gold/?currency=EUR ----> doesn't show any price unless I increase the decimal up to 8 places.
this only happens to prices that are very low per quantity, for example: 0.000085$ per quantity
Hello Pablo
sorry for the late reply, i have added the admin access and also purchased the product. can you please have a look?
here is a good example of the no price ( default currency is USD ):
https://www.wowgoldmarket.com/product/wow-eu-gold/?currency=USD ---> works fine with having 2 decimal places set in the plugin settings
https://www.wowgoldmarket.com/product/wow-eu-gold/?currency=EUR ----> doesn't show any price unless I increase the decimal up to 8 places.
this only happens to prices that are very low per quantity, for example: 0.000085$ per quantity
Quote from Pablo Borysenco on July 7, 2021, 11:40Hello
My message - https://share.pluginus.net/image/i20210707122014.png
My test - https://c2n.me/4cCq2E7
So please read this - https://currency-switcher.com/woocs-labs/ - you can create a new customization request for this third party plugin
Add FTP access - https://share.pluginus.net/image/i20210618130558.png ->https://share.pluginus.net/image/i20210618130637.png I will add this plugin to the adaptation queue
Hello
My message - https://share.pluginus.net/image/i20210707122014.png
My test - https://c2n.me/4cCq2E7
So please read this - https://currency-switcher.com/woocs-labs/ - you can create a new customization request for this third party plugin
Add FTP access - https://share.pluginus.net/image/i20210618130558.png ->https://share.pluginus.net/image/i20210618130637.png I will add this plugin to the adaptation queue
Quote from The on July 7, 2021, 14:54hello Pablo
as I mentioned before I don't believe it's a plugin compatibility issue, I have added a video link in the private data. in this video, you can clearly see all the plugins are disabled except woocommerce and woocs. but still, it doesn't work as it should and I tried to replicate the issue by changing the currency decimal. the reason you can't see the price on the product page the way you did it. is that it's been disabled using CSS to show the price using the "final price plugin" but still you should be able to see the behavior of the price on the checkout page. the other reason why you only see 2 decimals in checkout no matter the decimal set in the settings (woocs and woocommerce ) is I added a filter to function.php in the child theme to allow a maximum of 2 decimals no matter the price currency, but even disabling that wouldn't solve the issue.
ps. i should mention again that it only happens when the price per quantity is very low like : 0.000085 etc.
kind regards
hello Pablo
as I mentioned before I don't believe it's a plugin compatibility issue, I have added a video link in the private data. in this video, you can clearly see all the plugins are disabled except woocommerce and woocs. but still, it doesn't work as it should and I tried to replicate the issue by changing the currency decimal. the reason you can't see the price on the product page the way you did it. is that it's been disabled using CSS to show the price using the"final price plugin" but still you should be able to see the behavior of the price on the checkout page. the other reason why you only see 2 decimals in checkout no matter the decimal set in the settings (woocs and woocommerce ) is I added a filter to function.php in the child theme to allow a maximum of 2 decimals no matter the price currency, but even disabling that wouldn't solve the issue.
ps. i should mention again that it only happens when the price per quantity is very low like : 0.000085 etc.
kind regards
Quote from Pablo Borysenco on July 8, 2021, 10:51Hello
Ok! I will check it
Hello
Ok! I will check it
Quote from The on July 12, 2021, 16:56Hey Pablo
any updates on the situation?
Hey Pablo
any updates on the situation?
Quote from Pablo Borysenco on July 12, 2021, 18:18Hello
try in file - \wp-content\plugins\woocommerce-currency-switcher\classes\woocs.php - add code - https://share.pluginus.net/image/i20210712191732.png
$precision = 10;
clear all cache and do a test
Hello
try in file - \wp-content\plugins\woocommerce-currency-switcher\classes\woocs.php - add code - https://share.pluginus.net/image/i20210712191732.png
$precision = 10;
clear all cache and do a test
Quote from The on July 12, 2021, 18:50thank you so much Pablo! that solved the problem!
kind regards
thank you so much Pablo! that solved the problem!
kind regards
Quote from The on July 12, 2021, 19:00also, is it possible to add this code to the next update? or tell me a code that I can add to the child theme function.php? cause I have to add this with every update
also, is it possible to add this code to the next update? or tell me a code that I can add to the child theme function.php? cause I have to add this with every update
Quote from Pablo Borysenco on July 13, 2021, 11:23Hello
We will investigate this. I think this will be fixed in the next version.
Hello
We will investigate this. I think this will be fixed in the next version.