News:

Looking for documentation? Take a look on our wiki

Main Menu

SOLVED | Product weight too many zero

Started by Magev88, February 04, 2015, 09:49:45 AM

Previous topic - Next topic

Magev88

Hello,
i have a Joomla 3.3 site with VM 3.0.4 and in the products details page, if i insert the product weight, i see it with too many zero, like this:

http://www.idea-s.it/rocks/index.php/it/shop/riallocatore-ammortizzatore-di-sterzo-detail

What i have to change in the control panel for to see for example 6 kg and not 6.0000 KG like now?

Thanks


Milbo

Bad solution, there is a reason for the digits, please use

echo round($product->product_weight,2);
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Magev88

And what i have to modify this? Not in the Database, right?
So where?

Thanks

p.s.
for now, with the "bad" solution it works.... can this create some problems maybe?