Index: .
===================================================================
--- .	(revision 104)
+++ .	(working copy)
@@ -508,6 +508,7 @@
  * Callback for uc_signup_checkout_pane.
  */
 function uc_signup_attendees_pane($op, $arg1, $arg2) {
+  global $user;
   switch ($op) {
     case 'view':
       $contents = uc_cart_get_contents();
@@ -516,7 +517,12 @@
           $signups = TRUE;
         }
         if ($signups && $product->data['uc_signup_enabled'] && (empty($_SESSION['uc_signup']['nids'][$product->nid]) || count($_SESSION['uc_signup']['nids'][$product->nid]) < $product->qty)) {
-          drupal_goto('uc_signup/attendees/emails');
+          if( variable_get('uc_signup_add_attendees_on_checkout', 1) == 1 ) {
+            drupal_goto('uc_signup/attendees/emails');
+          }
+          else {       
+            $_SESSION['uc_signup']['nids'][$product->nid][] = $user->mail;
+          }
         }
       }
       $mails = array();
@@ -679,6 +685,12 @@
   '#description' => t("The signup/add to cart button will be disabled and display this text when signups are closed for a node. This text will be displayed when capacity is reached for an event."),
   '#default_value' => variable_get('uc_signup_signups_closed_text', t("Signups are closed for this event.")),
   );
+  $form['uc_signup_add_attendees_on_checkout'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Allow other attendees on checkout'),
+    '#description' => t("This checkfield will allow the user can signup other attendees on checkout."),
+    '#default_value' => variable_get('uc_signup_add_attendees_on_checkout', 1),
+  );  
   return system_settings_form($form);
 }
 
