Hi,
On default Virtuemart layout, stock level indicator is visible only on Category Browse page (not on product details page)
We have disabled that option with our template. Because no body is using it, and honestly it is pretty useless feature.
You can activate the stock level indicator on product details page by 2-steps if you really need this functionality.
1- open this PHP file:
/templates/YOUR_TEMPLATE/html/com_virtuemart/productdetails/default.php
default.php or flexv2.php depends on what ever layout you are currently using for product details page
2- insert these PHP lines:
<?php if ( VmConfig::get ('display_stock', 1)) { ?>
<div class="paddingtop8">
<span class="vmicon vm2-<?php echo $this->product->stock->stock_level ?>" title="<?php echo $this->product->stock->stock_tip ?>"></span>
<span class="stock-level"><?php echo JText::_ ('COM_VIRTUEMART_STOCK_LEVEL_DISPLAY_TITLE_TIP') ?></span>
</div>
<?php } ?>
to where ever you want to display the stock level indicator.
It makes sense to show it above the availability icons, so find this line:
<?php // Availability Image
and insert the PHP lines right above it.
Regards.
Support