Well damn! I resolved this one immediately after I posted the last message. For anyone else out there in the same boat, heres what I found:
In products.php, the $first_page in the code below restricts what goes into $products to whatever is on the first page (duh right?)
Code:
$products = func_search_products($search_query, $user_account['membership'], $first_page,$current_category["product_count"]);
if (count($products) ==0) $products="";
So to solve my problem, I just made an if statement that removes when I need all of the prices for the whole category:
Code:
if ($cat == "35") {
$products = func_search_products($search_query, $user_account['membership'],$current_category["product_count"]);
if (count($products) ==0) $products="";
} else {
$products = func_search_products($search_query, $user_account['membership'], $first_page,$current_category["product_count"]);
if (count($products) ==0) $products="";
}
I wonder if this will ever help anyone...