/includes/modules/pages/product_info/header_php.php
around line 15 you have this:
Code:
require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
add this right after it:
Code:
$sql = "select count(*) as total
from " . TABLE_PRODUCTS . " p, " .
TABLE_PRODUCTS_DESCRIPTION . " pd
where p.products_status = '1'
and p.products_id = '" . (int)$_GET['products_id'] . "'
and pd.products_id = p.products_id
and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'";
$res = $db->Execute($sql);
if ( $res->fields['total'] < 1 ) {
unset($_GET['products_id']);
}
Do the same for your other product-types if you're using other than the default Product General type for your products.