Hello
anybody know why in products I see the weight with 4 decimal numbers? It is possible to change from 4 to 2? Or cancel the number after comma?
I am trying to change the default.php in product detail. Do you know solutions?
Thanks
I think I found the solution:
In that file, I changes the Dimension adn added number_format on:
<h4><?php echo JText::_('COM_VIRTUEMART_PRODUCT_DIMENSIONS_AND_WEIGHT') ?></h4>
<?php
if ($this->product->product_length > 0) {
echo '<div>'.JText::_('COM_VIRTUEMART_PRODUCT_LENGTH').': ' .number_format($this->product->product_length, 2)." ".$this->product->product_lwh_uom.'</div>';
....