News:

Support the VirtueMart project and become a member

Main Menu

problem-digit price

Started by Grisu74, October 28, 2012, 00:04:30 AM

Previous topic - Next topic

Grisu74

Hello I have a problem, I do not know if it relates to size or Custom Virtuemart, however I can not accept the digit with decimal type 0.0042 as you can see in the picture, can you help me to solve?



[attachment cleanup by admin]
Joomla 3.6.2
If you want to save money buy online at Veneziane & Plissé
www.venezianeplisse.com

bytelord

Hello,

This is happen because of price rounding, please go to backend Configuration -> Prices and for the prices you wish change the rounding digits, e.g. 4.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

Grisu74

done, but I have not solved, decimals extension Custom size is not displayed, it displays only two decimal places and I need 4, as in the picture I showed you
Joomla 3.6.2
If you want to save money buy online at Veneziane & Plissé
www.venezianeplisse.com

Grisu74

Analyzing with firebug, I pointed to a piece of code that interesting to me, could you help me on what to add to display the decimal? thanks

[attachment cleanup by admin]
Joomla 3.6.2
If you want to save money buy online at Veneziane & Plissé
www.venezianeplisse.com

bytelord

#4
Hello,

Is working for me. VM version 2.0.12f and template with no overrides. Take a look at the attached images.

Because you are using custom fields you have also edit the currency and increase the decimals there also.

Regards

[attachment cleanup by admin]
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

Grisu74

Your last image(price_round4) in what is referred, plugin or something?
Joomla 3.6.2
If you want to save money buy online at Veneziane & Plissé
www.venezianeplisse.com

bytelord

Hello,

referred to virtuemart currencies, so go to Configuration -> Currencies, find your currency and edit it ... so there is the option decimals, change to 4 or any other you need!

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

Grisu74

I've been a big help, you are great ....... I solved thanks to your last advice ............ thank you, thank you, thank you.   ;D ;D ;D ;) ;)
Joomla 3.6.2
If you want to save money buy online at Veneziane & Plissé
www.venezianeplisse.com