Follow my steps:
1- Open Virtuemart Backend and make sure "Display stock level" is enabled.
Attachment Pasted_Image_8_14_13_2_45_AM.png not found
2- Open this PHP file:
/templates/flexible_lightmart/html/com_virtuemart/productdetails/default.php
Look at around 453rd line, and add this line:
<div class="FlexibleStockNumber">In Stock: <?php echo $this->product->product_in_stock ?></div>
Attachment Pasted_Image_8_14_13_2_50_AM.png not found
It will show the "Stock Number" there, something like:
Attachment ScreenShot2013-08-14at2.54.02AM.png not found
Furthermore; if you would like, you can define some CSS rules for this new element by using the
.FlexibleStockNumber class name, something like:
.FlexibleStockNumber {
color:green;
}
(Use this CSS file for any custom CSS rules:
/templates/flexible_lightmart/css/custom.css)