In response to jgkeifer:
If you want to skip a certain category, just add a bit more logic.
For example, change this:
Code:
if ($products[$key][forsale] == 'N' || # skip products not available for sale
$products[$key][price] <= 0.00) { # skip products with zero price
continue;
}
to
Code:
if ($products[$key][forsale] == 'N' || # skip products not available for sale
$products[$key][price] <= 0.00 || # skip products with zero
price
$category == 'Whatever category you want to skip') {
continue;
}