Quote:
Originally Posted by cflsystems
This is the pice of code that tells the script only products with indicator 0 and up to be included. If you comment it out all products will be included. Place # in front of the lines
|
Steve
I found the same type of code in /include/func/func.product.php but just further down
#BCSE Begin
#if($current_area == 'C')
#$stock_condition = " AND $sql_tbl[products].stock_indicator >= 0";
#BCSE End
I also comment it out and still it was disabling the -1 products. As soon as a added the 3rd condition to turn the variable red and display "Discontinued" it all worked! Strange?
Furthermore the 3rd condition was only applied in product.tpl so product still disappear in product list but the part where you go into the product to view the details of the product is showing with "Discontinued" on it.
Should I also apply the 3rd condition in products.tpl? I don't think I need to because all my -1 (Discontinued) products will be changed to the status of "hidden but available for sale"