diff -b /home/steve/uc_affiliate2/uc_affiliate2.admin.inc /home/drupal_6/sites/all/modules/uc_affiliate2/uc_affiliate2.admin.inc
297a298,308
>   foreach (uc_product_types() as $type) {
>     $types[$type] = $type;
>   }
>   $form['affiliate_product_types_exclude'] = array(
>     '#type' => 'checkboxes',
>     '#title' => t('Excluded types of product'),
>     '#default_value' => variable_get('affiliate_product_types_exclude', array()),
>     '#description' => t('Which types of products should affiliates not be able to resell?'),
>     '#options' => $types,
>   );
>   
diff -b /home/steve/uc_affiliate2/uc_affiliate2.module /home/drupal_6/sites/all/modules/uc_affiliate2/uc_affiliate2.module
424a425,426
>   $excluded_types = variable_get('affiliate_product_types_exclude', array());
>   if (!empty($excluded_types)) $product_types = array_diff($product_types, $excluded_types);
