Hi,
By default; If the product is "out of stock". The "Add to Cart" button will become "Notify" button. And no further action will happen in the product details page.
Custom coding is required to show "out of stock" icon/graphic in the product details page.
Normally, we don't provide free support for custom codings, but this is one is easy. So here it is:
open this PHP file:
/templates/flexible_lightmart/html/com_virtuemart/html/productdetails/default.php
And where ever you want to show the out of stock icon/graphic, include these lines:
<?php if (($this->product->product_in_stock - $this->product->product_ordered) < 1) { ?>
<img src="out_of_stock.png" />
<?php } ?>
(customize the <img> tag as you wish. It is an ordinary HTML)
Regards,
Support