Hello I'm using joomla 2.5 and latest version of virtuemart, On the frontend of my site i have the Virtuemart Products Module and next to where the price is i wish to add the weight for each item. anybody knows how to do it?
Please check my site here is the url: americafood.org
Virtuemart product module i going to be the one right below the main slider on the middle there should be six items featured there. you'll see the price.
you can "try" this in
modules_mod_virtuemart_product/tmpl/defaul.php
<?php echo $product->virtuemart_weight ?>
I tried adding the code you gave me but it game this error: Parse error: syntax error, unexpected '<' in /home/content/12/8993712/html/modules/mod_virtuemart_product/tmpl/default.php on line 25
echo '<p>';
echo $product->product_weight;
echo '</p>';
Prints out 90.000
But this prints 90 LB
echo '<p>';
$product->product_weight= number_format($product->product_weight,0);
echo $product->product_weight;
echo ' '.$product->product_weight_uom;
echo '</p>';