Index: /branches/comu-ver2/data/class/helper/SC_Helper_DB.php
===================================================================
--- /branches/comu-ver2/data/class/helper/SC_Helper_DB.php	(revision 17970)
+++ /branches/comu-ver2/data/class/helper/SC_Helper_DB.php	(revision 17971)
@@ -1682,5 +1682,13 @@
      */
     function lfAddAllProductsDelivFee(&$arrData, &$objPage, &$objCartSess) {
-        $objQuery = new SC_Query();
+        $arrData['deliv_fee'] += $this->lfCalcAllProductsDelivFee($arrData, $objCartSess);
+    }
+
+    /**
+     * 全商品の合計送料を計算する
+     */
+    function lfCalcAllProductsDelivFee(&$arrData, &$objCartSess) {
+        $objQuery = new SC_Query();
+        $deliv_fee_total = 0;
         $max = $objCartSess->getMax();
         for ($i = 0; $i <= $max; $i++) {
@@ -1689,7 +1697,8 @@
             // 数量
             $quantity = $_SESSION[$objCartSess->key][$i]['quantity'];
-            // 合算
-            $arrData['deliv_fee'] += $deliv_fee * $quantity;
-        }
+            // 累積
+            $deliv_fee_total += $deliv_fee * $quantity;
+        }
+        return $deliv_fee_total;
     }
 
