Quote Originally Posted by barco57 View Post
includes/templates/bootstrap/templates/tpl_product_info_display_details.php
add the line in red

Code:
<?php
//-bof-20241125-lat9-NPF additions
    $display_product_stock =  (!isset($flag_show_product_info_out_of_stock) ||  (!empty($flag_show_product_info_out_of_stock) &&  empty($products_out_of_stock)));
$display_product_stock = false;
?>
                <?= (($display_product_stock === true) ? '<li  class="list-group-item">' . PRODUCT_AVAILABILITY . '<strong>' .  $products_quantity . TEXT_PRODUCT_QUANTITY .  '</strong></li>'  : '') . "\n" ?>
<?php
Thanks for that info but I had already taken the complete code out. It was code put in by one of the people that did work on the site and it took me a while to track it down and remove it.

If it was added correctly I would not have needed to track it down as it should work in the product code area (Product general layout settings) to be able to turn it on or off in the layout settings. It should have been done correctly in the first place rather than just use a small piece of code and leaving issues.

Once again money wasted.