View Single Post
  #8  
Old 11-29-2004, 06:15 PM
 
clydefrog clydefrog is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 61
 

Default

I do not see the line that tkogirl changed. I looked in my product.php file and all I came up with was this:

$search_query = "($sql_tbl[products].categoryid='$cat' or $sql_tbl[products].categoryid1='$cat' or $sql_tbl[products].categoryid2='$cat' or $sql_tbl[products].categoryid3='$cat') and $sql_tbl[products].forsale='Y'";

$total_products_in_search = $current_category["product_count"];

$products = func_search_products($search_query, !empty($user_account['membership'])?$user_account['membership']:"", $first_page,$current_category["product_count"]);
if (count($products) ==0) $products="";

if(!empty($active_modules["Subscriptions"])) {
include $xcart_dir."/modules/Subscriptions/subscription.php";
}

$smarty->assign("products",$products);
$smarty->assign("navigation_script","home.php?cat=$cat") ;
?>

Is this similar code to what you changed? and what version xcart are you using?
__________________
X-Cart Gold 4.1.3
Reply With Quote