Quote Originally Posted by izar74 View Post
Currently i have modified the code and the positioning of the image, if the quantity is 0 or below.
Modified the file :includes\templates\YOUR_TEMPLATES\templates\tpl_product_info_display.php around line 80

PHP Code:
<!--bof Product Price block -->

<div id="productOFS">
<!--BOF No price if out of stock, show image instead-->
<?php
  
if ($products_quantity <= 0) {
    echo 
"<img src=images/esaurito.gif>";
   }
?></div>
<!--EOF No price if Out of stock, show images instead-->

<h2 id="productPrices" class="productGeneral">
I also added a class #productOFS in stylesheet.css so to have more control over the display of the image.
Sounds like a plan. :)

Btw, note that the image will display any time quantity is less than or equal to zero, even if you choose later to allow back ordering product from your store. Would recommend documenting something regarding that in case you ever choose to allow back ordering and to help on upgrade of your file(s) as well to understand the capabilities/restrictions of the content.