=== modified file 'uc_attribute/uc_attribute.admin.inc' (properties changed: -x to +x)
--- uc_attribute/uc_attribute.admin.inc	2009-09-23 18:21:45 +0000
+++ uc_attribute/uc_attribute.admin.inc	2009-09-30 05:31:30 +0000
@@ -189,12 +189,18 @@
       'adjustment' => t('Display price adjustment'),
       'total' => t('Display total price'),
     ),
+  );
+  $form['uc_attribute_option_price_format_single'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Display adjustment or total for a single product'),
+    '#default_value' => variable_get('uc_attribute_option_price_format_single', 0),
     '#description' => t('Formats the price in the attribute selection form when the customer adds a product to their cart. The total price will only be displayed on products with only one price affecting attribute.'),
   );
 
   return system_settings_form($form);
 }
 
+
 /**
  * Display options and the modifications to products they represent.
  *

=== modified file 'uc_attribute/uc_attribute.install' (properties changed: -x to +x)
--- uc_attribute/uc_attribute.install	2009-09-23 15:41:04 +0000
+++ uc_attribute/uc_attribute.install	2009-09-30 05:33:00 +0000
@@ -388,6 +388,7 @@
   drupal_uninstall_schema('uc_attribute');
 
   variable_del('uc_attribute_option_price_format');
+  variable_del('uc_attribute_option_price_format_single');
 }
 
 function uc_attribute_update_1() {

=== modified file 'uc_attribute/uc_attribute.module' (properties changed: -x to +x)
--- uc_attribute/uc_attribute.module	2009-09-29 16:15:09 +0000
+++ uc_attribute/uc_attribute.module	2009-09-30 05:53:44 +0000
@@ -696,9 +696,9 @@
   }
 
   $nid = $product->nid;
-  $qty = $product->default_qty;
-  if (!$qty) {
-    $qty = 1;
+  $qty = 1;
+  if (variable_get('uc_attribute_option_price_format_single', 0) == 0) {
+    $qty = $product->default_qty;
   }
 
   // Load all product attributes for the given nid.

