
Originally Posted by
Ajeh
Check that the file:
/includes/modules/new_products.php
is current and up to date ... Note: you may have a template and override file in:
/includes/modules/your_template_dir/new_products.php
Clean, new install of latest version, why would it not be current? No other version present in template overide directory.
Version info is " * @version $Id: new_products.php 6424 2007-05-31 05:59:21Z ajeh $"
and includes the reference to the products_status = 1
in both of the SELECT statements ...
Here is the 2nd SELECT statement -
Code:
$new_products_query = "select distinct p.products_id, p.products_image, p.products_tax_class_id, pd.products_name,
p.products_date_added, p.products_price, p.products_type, p.master_categories_id
from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd
where p.products_id = pd.products_id
and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'
and p.products_id in (" . $list_of_products . ")";
The first SELECT statement has this line at the end -
Code:
and p.products_status = 1 " . $display_limit;
Forgive my overwhelming ignorance, but should I just add that to the second statement as well. Cut and past after the final line? Obviously, I'm once again in WAY over my head. Don't want to screw things up trying to solve a fairly minor annoyance.
Thanks for your help and your patience.