PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Issue with rate and interest containing exponential/scientific notation

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 please
If 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.

I've been using the plugin for a while but I just noticed this.

When a currency uses a rate and interest containing scientific notation (ie. 1.6560408E-5), products with variations will not show their price if that price is manually set.

Let's use this example: https://leandroperez.art/tienda/servicios/tutoria-personal/

I've manually set the ARS price and all the other currencies are automatically calculated. That works fine and when selecting a variation you get the price. See: https://i.ibb.co/n0KnWXn/ars.png and https://i.ibb.co/thGLnj7/euro.png

I set up a BTC currency that right now has a rate of 1.6547226E-5. When selecting that currency and a variation, I don't see any price for the selected variation: https://i.ibb.co/dm1mP1C/btc.png

If I change the rate to a number with no scientific notation, the variation shows the price: https://i.ibb.co/pRS5kDh/btc-fixed.png

 

Hello

My  test  - https://c2n.me/4bGNros

Now its working fine for me as well.

But I have these other products that aren't working:

Did you change something in the product to fix it? Because the previous link doesn't work in the translated version: https://leandroperez.art/en/store/services/personal-mentorship/

Hello

Did you change something in the product to fix it?  - No

Please  add  FTP access

I just added the FTP info.

Hello

Our developer will check it on Monday

Cool, thank you.

Hello

Please do a test

I just tested the links I posted above. Everything seems to be working fine, but the CSS isn't loading properly for BTC.

This is the correct CSS: https://i.ibb.co/dMCQJHL/ars.png

This is what BTC currency shows: https://i.ibb.co/fM8YFGm/btc.png

hello

Add CSS

.single_variation_wrap .woocommerce-variation-price{

font-family: lato,helveticaneue-light,helvetica neue light,helvetica neue,Helvetica,arial,sans-serif;
color: #555;
font-weight: 700;
margin: -12px 0 18px;

}

Thank you, that fixed it.

What was the issue related to the price not showing up? How do I fix it? I'm asking in case I get it again in future products.

Hello

The problem is in your custom code  in  file - plugins\woocommerce-currency-switcher\js\front.js

I see. Thanks for the clarification.

Hello

Welcome;)