Index: ec_store/ec_store.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ecommerce/ec_store/ec_store.module,v
retrieving revision 1.12.2.67
diff -u -p -r1.12.2.67 ec_store.module
--- ec_store/ec_store.module	26 Oct 2009 01:36:00 -0000	1.12.2.67
+++ ec_store/ec_store.module	7 Mar 2010 20:52:36 -0000
@@ -1137,7 +1137,7 @@ function ec_store_ec_charge_default_vari
   
       $variables['subtotal'] = 0;
       foreach ($txn->items as $nid => $item) {
-        $variables['subtotal'] += ec_store_adjust_misc($txn, $item);
+        $variables['subtotal'] += ec_store_adjust_misc($txn, $item) * ec_product_check_qty($item, $item->qty);
       }
       break;
   }
Index: ec_store/templates/theme.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ecommerce/ec_store/templates/Attic/theme.inc,v
retrieving revision 1.1.2.10
diff -u -p -r1.1.2.10 theme.inc
--- ec_store/templates/theme.inc	6 Jul 2009 00:40:38 -0000	1.1.2.10
+++ ec_store/templates/theme.inc	7 Mar 2010 20:52:36 -0000
@@ -28,7 +28,7 @@ function template_preprocess_invoice(&$v
     $txn->items[$nid]->price = ec_store_adjust_misc($txn, $item);
     $txn->items[$nid]->formatted_price = format_currency($txn->items[$nid]->price);
     $txn->items[$nid]->quantity_visible = ec_product_has_quantity($item);
-    $subtotal+= $txn->items[$nid]->price;
+    $subtotal+= $txn->items[$nid]->price * ec_product_check_qty($txn->items[$nid], $txn->items[$nid]->qty);
   }
   
   $variables['subtotal'] = format_currency($subtotal);
