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 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 leandroprz on April 13, 2021, 20:15I'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
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
Quote from Pablo Borysenco on April 14, 2021, 13:19Hello
My test - https://c2n.me/4bGNros
Hello
My test - https://c2n.me/4bGNros
Quote from leandroprz on April 14, 2021, 17:55Now its working fine for me as well.
But I have these other products that aren't working:
- https://leandroperez.art/tienda/talleres/fotografia-timelapse/
- https://leandroperez.art/tienda/talleres/fotografia-nocturna-de-paisaje/
- https://leandroperez.art/tienda/talleres/introduccion-a-la-fotografia-digital/
- https://leandroperez.art/tienda/talleres/revelado-con-lightroom-classic/
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/
Now its working fine for me as well.
But I have these other products that aren't working:
- https://leandroperez.art/tienda/talleres/fotografia-timelapse/
- https://leandroperez.art/tienda/talleres/fotografia-nocturna-de-paisaje/
- https://leandroperez.art/tienda/talleres/introduccion-a-la-fotografia-digital/
- https://leandroperez.art/tienda/talleres/revelado-con-lightroom-classic/
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/
Quote from Pablo Borysenco on April 15, 2021, 11:07Hello
Did you change something in the product to fix it? - No
Please add FTP access
Hello
Did you change something in the product to fix it? - No
Please add FTP access
Quote from leandroprz on April 15, 2021, 17:44I just added the FTP info.
I just added the FTP info.
Quote from Pablo Borysenco on April 16, 2021, 16:17Hello
Our developer will check it on Monday
Hello
Our developer will check it on Monday
Quote from leandroprz on April 16, 2021, 16:17Cool, thank you.
Cool, thank you.
Quote from Pablo Borysenco on April 19, 2021, 16:37Hello
Please do a test
Hello
Please do a test
Quote from leandroprz on April 19, 2021, 21:04I 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
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
Quote from Pablo Borysenco on April 20, 2021, 12:21hello
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;}
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;
}
Quote from leandroprz on April 21, 2021, 18:11Thank 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.
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.
Quote from Pablo Borysenco on April 22, 2021, 10:09Hello
The problem is in your custom code in file - plugins\woocommerce-currency-switcher\js\front.js
Hello
The problem is in your custom code in file - plugins\woocommerce-currency-switcher\js\front.js
Quote from leandroprz on April 23, 2021, 02:41I see. Thanks for the clarification.
I see. Thanks for the clarification.
Quote from Pablo Borysenco on April 23, 2021, 12:36Hello
Welcome;)
Hello
Welcome;)